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

[Xen-changelog] Reconstitute the ip parameter correctly. Closes bug #491.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID c028ba081c8495fb26f5797fadd673a49d5c87bb
# Parent  b6af6ab53c6747b709146763c5bd639307e73a61
Reconstitute the ip parameter correctly.  Closes bug #491.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r b6af6ab53c67 -r c028ba081c84 tools/python/xen/xend/server/netif.py
--- a/tools/python/xen/xend/server/netif.py     Mon Feb 27 16:16:28 2006
+++ b/tools/python/xen/xend/server/netif.py     Mon Feb 27 16:26:16 2006
@@ -113,7 +113,8 @@
                            script.replace(xroot.network_script_dir + os.sep,
                                           "")])
         if ip:
-            result.append(['ip', ip.split(" ")])
+            for i in ip.split(" "):
+                result.append(['ip', i])
         if bridge:
             result.append(['bridge', bridge])
         if mac:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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