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] Reconstitute the ip parameter correctly. Closes bug #491

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Reconstitute the ip parameter correctly. Closes bug #491.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 27 Feb 2006 23:10:14 +0000
Delivery-date: Mon, 27 Feb 2006 23:11:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Reconstitute the ip parameter correctly. Closes bug #491., Xen patchbot -unstable <=