aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-08-19 10:48:39 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-08-19 10:48:39 +0100
commitd74b976c41d4b3019c335cd009f38060f612002a (patch)
tree6c702ae01d1d89fa19567d45b187c2c08a7a0d25
parent613e3fc198ee6f4272b09f6c91a710d650c0ef63 (diff)
downloadxen-d74b976c41d4b3019c335cd009f38060f612002a.tar.gz
xen-d74b976c41d4b3019c335cd009f38060f612002a.tar.bz2
xen-d74b976c41d4b3019c335cd009f38060f612002a.zip
xend: fixes a typo in the PIF class of the Xen-API code.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
-rw-r--r--tools/python/xen/xend/XendPIF.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xend/XendPIF.py b/tools/python/xen/xend/XendPIF.py
index 2a2e78acc2..60524813f3 100644
--- a/tools/python/xen/xend/XendPIF.py
+++ b/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: