From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-emulation/xen-tools/files: xen-tools-3.4.0-network-bridge-broadcast.patch |
Date: | Mon, 22 Jun 2009 12:09:08 |
Message-Id: | E1MIiKe-0001KY-UM@stork.gentoo.org |
1 | patrick 09/06/22 12:09:04 |
2 | |
3 | Added: xen-tools-3.4.0-network-bridge-broadcast.patch |
4 | Log: |
5 | Bump to 3.4.0. Closes #271173. Patch and ebuild fixes by Sergey Morozov |
6 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-emulation/xen-tools/files/xen-tools-3.4.0-network-bridge-broadcast.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/xen-tools/files/xen-tools-3.4.0-network-bridge-broadcast.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/xen-tools/files/xen-tools-3.4.0-network-bridge-broadcast.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: xen-tools-3.4.0-network-bridge-broadcast.patch |
15 | =================================================================== |
16 | --- xen-3.4.0/tools/hotplug/Linux/network-bridge.orig 2009-05-18 15:05:38.000000000 +0400 |
17 | +++ xen-3.4.0/tools/hotplug/Linux/network-bridge 2009-06-09 23:16:05.000000000 +0400 |
18 | @@ -101,7 +101,7 @@ |
19 | tdev=tmpbridge |
20 | |
21 | get_ip_info() { |
22 | - addr_pfx=`ip addr show dev $1 | egrep '^ *inet' | sed -e 's/ *inet //' -e 's/ .*//'` |
23 | + addr_pfx=`ip addr show dev $1 | egrep '^ *inet' | sed -e 's/ *inet //' -e "s/$1//"` |
24 | gateway=`ip route show dev $1 | fgrep default | sed 's/default via //'` |
25 | } |