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

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
Keir Fraser committed 2008-08-19 10:48:39 +01:00
1 parent 613e3fc198
commit d74b976c41
1 file changed
+1 -1
+1 -1
View File
@@ -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:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.