bitkeeper revision 1.1159.258.67 (4243f8f4bOCvwTNPuva3gzEiuhWgSw)

fix to xend
This commit is contained in:
iap10@freefall.cl.cam.ac.uk[iap10] committed 2005-03-25 11:41:40 +00:00
1 parent 631181e727
commit 521752c0b7
1 file changed
+2 -1
+2 -1
View File
@@ -39,7 +39,8 @@ def network(op, script=None, bridge=None, antispoof=None):
def set_vif_name(vif_old, vif_new):
if vif_old == vif_new:
vif = view_new
vif = vif_new
return vif
if os.system("ip link show %s" % vif_old) == 0:
os.system("ip link set %s down" % vif_old)
os.system("ip link set %s name %s" % (vif_old, vif_new))
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.