1 |
pva 10/08/30 11:55:45 |
2 |
|
3 |
Modified: vzctl-3.0.24.1-vzpostup.patch |
4 |
Log: |
5 |
Fixed type in vzpostup patch, thank Kir Kolyshkin for review. |
6 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 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.2&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.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/vzctl/files/vzctl-3.0.24.1-vzpostup.patch?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: vzctl-3.0.24.1-vzpostup.patch |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/files/vzctl-3.0.24.1-vzpostup.patch,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- vzctl-3.0.24.1-vzpostup.patch 30 Jul 2010 10:29:50 -0000 1.1 |
22 |
+++ vzctl-3.0.24.1-vzpostup.patch 30 Aug 2010 11:55:45 -0000 1.2 |
23 |
@@ -1,4 +1,4 @@ |
24 |
-From 05b5befcbac2d907e6a7b317895bfbbeef74443d Mon Sep 17 00:00:00 2001 |
25 |
+From 26b0fe7c39ac62cff3f5c09b5b76e595ce522e70 Mon Sep 17 00:00:00 2001 |
26 |
From: Peter Volkov <pva@g.o> |
27 |
Date: Thu, 22 Jul 2010 18:30:38 +0400 |
28 |
Subject: [PATCH] vzifup-post: fix device for proxy arp |
29 |
@@ -12,16 +12,16 @@ |
30 |
1 files changed, 2 insertions(+), 0 deletions(-) |
31 |
|
32 |
diff --git a/bin/vzifup-post.in b/bin/vzifup-post.in |
33 |
-index bba7d11..2979907 100755 |
34 |
+index bba7d11..d74ac9e 100755 |
35 |
--- a/bin/vzifup-post.in |
36 |
+++ b/bin/vzifup-post.in |
37 |
@@ -24,7 +24,9 @@ update_arp() |
38 |
{ |
39 |
local veip |
40 |
for veip in $(awk '!/^Version/ { print $1 }' /proc/vz/veip); do |
41 |
-+ [ "$NEIGHBOUR_DEVS" != 'detect' ] && vzdelrouting "${veip}" |
42 |
++ [ "$NEIGHBOUR_DEVS" = 'detect' ] && vzdelrouting "${veip}" |
43 |
vzarp add ${veip} |
44 |
-+ [ "$NEIGHBOUR_DEVS" != 'detect' ] && vzaddrouting "${veip}" |
45 |
++ [ "$NEIGHBOUR_DEVS" = 'detect' ] && vzaddrouting "${veip}" |
46 |
done |
47 |
} |