From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume Rousse Subject: Re: [ANNOUNCE] Tree freeze for 3.2.0 Date: Wed, 07 Nov 2007 17:33:00 +0100 Message-ID: <4731E8BC.3040101@inria.fr> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090809060600010101030209" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------090809060600010101030209 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Keir Fraser a =E9crit : > On 7/11/07 12:49, "Guillaume Rousse" wrote: >=20 >> May I ask then this patch I already submitted twice get included ? >> >> Basically, the original network-bridge scripts assume interface is the >> last element on on the ouput line, whereas it is not always true, >> especially if you use routing metrics. >=20 > The code in the tree looks like your patch has been applied, yes. You c= an > always check for yourself, of course. The patch was reversed, sorry (/me sux). here is the correct one. --=20 Guillaume Rousse Moyens Informatiques - INRIA Futurs Tel: 01 69 35 69 62 --------------090809060600010101030209 Content-Type: text/x-patch; name="xen-unstable-network-bridge.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xen-unstable-network-bridge.patch" Signed-off-by: Guillaume Rousse --- network-bridge~ 2007-11-07 13:37:55.000000000 +0100 +++ network-bridge 2007-11-07 13:46:30.000000000 +0100 @@ -72,8 +72,8 @@ echo "$ifs" } -netdev=${netdev:-$(ip route list | awk '/^default / { print $NF }' | - sed 's/.* dev //')} +netdev=${netdev:-$(ip route list 0.0.0.0/0 | \ + sed 's/.*dev \([a-z]\+[0-9]\+\).*$/\1/')} if is_network_root ; then altdevs=$(find_alt_device $netdev) for netdev in $altdevs; do break; done --------------090809060600010101030209 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------090809060600010101030209--