Fix the fix for XendPIF

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
This commit is contained in:
Tom Wilkie committed 2007-05-02 16:43:45 +01:00
1 parent 2623ab58fe
commit 7601e982d4
1 file changed
+1 -1
+1 -1
View File
@@ -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:
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.