ia64/xen-unstable

changeset 9057:c028ba081c84

Reconstitute the ip parameter correctly. Closes bug #491.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Mon Feb 27 17:26:16 2006 +0100 (2006-02-27)
parents b6af6ab53c67
children 5262bd9e9d19
files tools/python/xen/xend/server/netif.py
line diff
     1.1 --- a/tools/python/xen/xend/server/netif.py	Mon Feb 27 17:16:28 2006 +0100
     1.2 +++ b/tools/python/xen/xend/server/netif.py	Mon Feb 27 17:26:16 2006 +0100
     1.3 @@ -113,7 +113,8 @@ class NetifController(DevController):
     1.4                             script.replace(xroot.network_script_dir + os.sep,
     1.5                                            "")])
     1.6          if ip:
     1.7 -            result.append(['ip', ip.split(" ")])
     1.8 +            for i in ip.split(" "):
     1.9 +                result.append(['ip', i])
    1.10          if bridge:
    1.11              result.append(['bridge', bridge])
    1.12          if mac: