aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Wilkie <tom.wilkie@gmail.com>2007-05-02 16:43:45 +0100
committerTom Wilkie <tom.wilkie@gmail.com>2007-05-02 16:43:45 +0100
commit7601e982d4ae3891a430dffa33c13801ba0a7f4b (patch)
tree56fa4090ab8b8fceb0d6c00ec86ff04be8224c6b
parent2623ab58fe15b305d22cb39277d0181c6684a987 (diff)
downloadxen-7601e982d4ae3891a430dffa33c13801ba0a7f4b.tar.gz
xen-7601e982d4ae3891a430dffa33c13801ba0a7f4b.tar.bz2
xen-7601e982d4ae3891a430dffa33c13801ba0a7f4b.zip
Fix the fix for XendPIF
signed-off-by: Tom Wilkie <tom.wilkie@gmail.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 063394890d..f2f5059724 100644
--- a/tools/python/xen/xend/XendPIF.py
+++ b/tools/python/xen/xend/XendPIF.py
@@ -205,7 +205,7 @@ class XendPIF(XendBase):
ifs = [dev for dev, _1, _2 in linux_get_phy_ifaces()]
if pif.get_VLAN() == -1:
if pif.get_device() not in ifs:
- XendBase.destroy(self)
+ XendBase.destroy(pif)
metrics.destroy()
return None
else: