WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[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

<Prev in Thread] Current Thread [Next in Thread>