[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] fix to xend



ChangeSet 1.1159.256.67, 2005/03/25 11:41:40+00:00, iap10@xxxxxxxxxxxxxxxxxxxxx

        fix to xend



 Vifctl.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


diff -Nru a/tools/python/xen/xend/Vifctl.py b/tools/python/xen/xend/Vifctl.py
--- a/tools/python/xen/xend/Vifctl.py   2005-03-25 07:06:11 -05:00
+++ b/tools/python/xen/xend/Vifctl.py   2005-03-25 07:06:11 -05:00
@@ -39,7 +39,8 @@
 
 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))


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.