mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
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:
1 parent
613e3fc198
commit
d74b976c41
1 file changed
+1
-1
@@ -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:
|
||||
|
||||