Skip to contentSkip to conversation

Fix a typo in PIF Xen-API code

PATCH New Stefan Berger 1 participant 1 message Aug 19, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix a typo in PIF Xen-API code

This fixes a typo in the PIF class of the Xen-API code.

xen-unstable.hg/tools/python/xen/xend/XendPIF.py +1 -1
Index: root/xen-unstable.hg/tools/python/xen/xend/XendPIF.py
===================================================================
@@ -101,7 +101,7 @@ def linux_get_mtu(device):
 def linux_get_mac(device):
     return _linux_get_pif_param(device, 'link/ether')
 
-def _linux_get_pif_parm(device, param_name):
+def _linux_get_pif_param(device, param_name):
     ip_get_dev_data = 'ip link show %s' % device
     rc, output = commands.getstatusoutput(ip_get_dev_data)
     if rc == 0:

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel