mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
bitkeeper revision 1.1159.1.162 (414b0c7eCPgG8brLgsKH1SwrQz7JJQ)
Fix args to vnet control command.
This commit is contained in:
1 parent
9976050eca
commit
3caaef32d7
1 file changed
+1
-1
@@ -55,7 +55,7 @@ class XendVnetInfo:
|
||||
def vifctl(self, op, vif, vmac):
|
||||
try:
|
||||
fn = self.vifctl_ops[op]
|
||||
return vnet_cmd([fn, ['vif', vif], ['vmac', vmac]])
|
||||
return vnet_cmd([fn, ['vnet', self.id], ['vif', vif], ['vmac', vmac]])
|
||||
except XendError:
|
||||
log.warning("vifctl failed: op=%s vif=%s mac=%s", op, vif, vmac)
|
||||
|
||||
|
||||