Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/vzctl/files: vzctl-3.0.24.1-vzpostup.patch
Date: Fri, 30 Jul 2010 10:29:54
Message-Id: 20100730102951.1EF192CAD8@corvid.gentoo.org
1 pva 10/07/30 10:29:50
2
3 Added: vzctl-3.0.24.1-vzpostup.patch
4 Log:
5 Version bump.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sys-cluster/vzctl/files/vzctl-3.0.24.1-vzpostup.patch
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/files/vzctl-3.0.24.1-vzpostup.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/files/vzctl-3.0.24.1-vzpostup.patch?rev=1.1&content-type=text/plain
13
14 Index: vzctl-3.0.24.1-vzpostup.patch
15 ===================================================================
16 From 05b5befcbac2d907e6a7b317895bfbbeef74443d Mon Sep 17 00:00:00 2001
17 From: Peter Volkov <pva@g.o>
18 Date: Thu, 22 Jul 2010 18:30:38 +0400
19 Subject: [PATCH] vzifup-post: fix device for proxy arp
20
21 We need to del/add routing to detect correct device for proxy arp in
22 NEIGHBOUR_DEVS=detect mode.
23
24 http://bugzilla.openvz.org/show_bug.cgi?id=1587
25 ---
26 bin/vzifup-post.in | 2 ++
27 1 files changed, 2 insertions(+), 0 deletions(-)
28
29 diff --git a/bin/vzifup-post.in b/bin/vzifup-post.in
30 index bba7d11..2979907 100755
31 --- a/bin/vzifup-post.in
32 +++ b/bin/vzifup-post.in
33 @@ -24,7 +24,9 @@ update_arp()
34 {
35 local veip
36 for veip in $(awk '!/^Version/ { print $1 }' /proc/vz/veip); do
37 + [ "$NEIGHBOUR_DEVS" != 'detect' ] && vzdelrouting "${veip}"
38 vzarp add ${veip}
39 + [ "$NEIGHBOUR_DEVS" != 'detect' ] && vzaddrouting "${veip}"
40 done
41 }
42
43 --
44 1.7.1