diff options
author | Peter Volkov <pva@gentoo.org> | 2010-08-30 11:55:45 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2010-08-30 11:55:45 +0000 |
commit | 09952c7b6bcbc21ea05de86644f11ec8d2510ab3 (patch) | |
tree | 6ab34c6b5b20a4c22d1b0defc2faf0eb6e3ea45c /sys-cluster/vzctl/files | |
parent | Stable on amd64 wrt bug #333175 (diff) | |
download | historical-09952c7b6bcbc21ea05de86644f11ec8d2510ab3.tar.gz historical-09952c7b6bcbc21ea05de86644f11ec8d2510ab3.tar.bz2 historical-09952c7b6bcbc21ea05de86644f11ec8d2510ab3.zip |
Fixed type in vzpostup patch, thank Kir Kolyshkin for review.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster/vzctl/files')
-rw-r--r-- | sys-cluster/vzctl/files/vzctl-3.0.24.1-vzpostup.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-cluster/vzctl/files/vzctl-3.0.24.1-vzpostup.patch b/sys-cluster/vzctl/files/vzctl-3.0.24.1-vzpostup.patch index 1a98fe52243e..2bda986fd50c 100644 --- a/sys-cluster/vzctl/files/vzctl-3.0.24.1-vzpostup.patch +++ b/sys-cluster/vzctl/files/vzctl-3.0.24.1-vzpostup.patch @@ -1,4 +1,4 @@ -From 05b5befcbac2d907e6a7b317895bfbbeef74443d Mon Sep 17 00:00:00 2001 +From 26b0fe7c39ac62cff3f5c09b5b76e595ce522e70 Mon Sep 17 00:00:00 2001 From: Peter Volkov <pva@gentoo.org> Date: Thu, 22 Jul 2010 18:30:38 +0400 Subject: [PATCH] vzifup-post: fix device for proxy arp @@ -12,16 +12,16 @@ http://bugzilla.openvz.org/show_bug.cgi?id=1587 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/bin/vzifup-post.in b/bin/vzifup-post.in -index bba7d11..2979907 100755 +index bba7d11..d74ac9e 100755 --- a/bin/vzifup-post.in +++ b/bin/vzifup-post.in @@ -24,7 +24,9 @@ update_arp() { local veip for veip in $(awk '!/^Version/ { print $1 }' /proc/vz/veip); do -+ [ "$NEIGHBOUR_DEVS" != 'detect' ] && vzdelrouting "${veip}" ++ [ "$NEIGHBOUR_DEVS" = 'detect' ] && vzdelrouting "${veip}" vzarp add ${veip} -+ [ "$NEIGHBOUR_DEVS" != 'detect' ] && vzaddrouting "${veip}" ++ [ "$NEIGHBOUR_DEVS" = 'detect' ] && vzaddrouting "${veip}" done } |