mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Fix the fix for XendPIF
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
This commit is contained in:
1 parent
2623ab58fe
commit
7601e982d4
1 file changed
+1
-1
@@ -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:
|
||||
|
||||