ia64/xen-unstable

changeset 4320:9ed41e2d2347

bitkeeper revision 1.1159.258.67 (4243f8f4bOCvwTNPuva3gzEiuhWgSw)

fix to xend
author iap10@freefall.cl.cam.ac.uk[iap10]
date Fri Mar 25 11:41:40 2005 +0000 (2005-03-25)
parents 27081126eb42
children fbb28076d427 dfc37b282730
files tools/python/xen/xend/Vifctl.py
line diff
     1.1 --- a/tools/python/xen/xend/Vifctl.py	Fri Mar 25 11:06:44 2005 +0000
     1.2 +++ b/tools/python/xen/xend/Vifctl.py	Fri Mar 25 11:41:40 2005 +0000
     1.3 @@ -39,7 +39,8 @@ def network(op, script=None, bridge=None
     1.4  
     1.5  def set_vif_name(vif_old, vif_new):
     1.6      if vif_old == vif_new:
     1.7 -        vif = view_new
     1.8 +        vif = vif_new
     1.9 +        return vif
    1.10      if os.system("ip link show %s" % vif_old) == 0:
    1.11          os.system("ip link set %s down" % vif_old)
    1.12          os.system("ip link set %s name %s" % (vif_old, vif_new))