From: Brendan Cully Subject: Re: [PATCH] [XEND] fix vif IP specification broken in 12633:5bed7bc05c8a Date: Tue, 5 Dec 2006 12:51:19 -0800 Message-ID: <20061205205118.GA13614@ventoux.cs.ubc.ca> References: <013e995e2a6b0c5b237b.1165276770@ventoux.cs.ubc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <013e995e2a6b0c5b237b.1165276770@ventoux.cs.ubc.ca> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Monday, 04 December 2006 at 15:59, Brendan Cully wrote: > # HG changeset patch > # User Brendan Cully > # Date 1165276659 28800 > # Node ID 013e995e2a6b0c5b237b29211e697b7757e5f94f > # Parent fd28a1b139dea91b8bfcf06dd233dbdda8f51ff1 > [XEND] fix vif IP specification broken in 12633:5bed7bc05c8a > > Apparently at some point one could attach multiple IP addresses > to a single VIF in the config file. This doesn't address that > feature. > > Signed-off-by: Brendan Cully Sorry, I should have included a better description of the problem: vif = ['ip=xxx.xxx.xxx.xxx'] hasn't worked since 12633 (at least with Xen's nat scripts). The problem is that pre-12633, the IP field returned from the config parser was a list, but now it is a string. So ' '.join(ip) ends up sending 'x x x . x x x . x x x . x x x' to the scripts, which were expecting less whitespace.