diff options
author | hagbard <vyosdev@derith.de> | 2018-12-18 11:13:47 -0800 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-12-26 07:46:06 +0100 |
commit | 0396478ce3410c353ea0b1bb23bed6535c33e746 (patch) | |
tree | 81e8b3dc3786db25708bb5fc0b07bb344ea5eb49 | |
parent | 02428eae5e9e9b77eb1481560df4774611010d62 (diff) | |
download | vyatta-cfg-quagga-0396478ce3410c353ea0b1bb23bed6535c33e746.tar.gz vyatta-cfg-quagga-0396478ce3410c353ea0b1bb23bed6535c33e746.zip |
Fixes: T1102: Disabling rp_filter don't work
Conflicts:
debian/changelog
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | interface-templates/ip/source-validation/node.def | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog index 86ec9fc2..d2e5012d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,8 @@ -vyatta-cfg-quagga (1.2.0-1) stable; urgency=medium +vyatta-cfg-quagga (0.19.1+vyos2+current6) unstable; urgency=low - * New branch. + * bugfix: T1102 - Disabling rp_filter don't work - -- Daniil Baturin <daniil@baturin.org> Fri, 28 Sep 2018 21:43:09 +0200 + -- hagbard <vyosdev@derith.de> Tue, 18 Dec 2018 11:13:06 -0800 vyatta-cfg-quagga (0.19.1+vyos2+current5) unstable; urgency=medium diff --git a/interface-templates/ip/source-validation/node.def b/interface-templates/ip/source-validation/node.def index 2c8523d2..89aab874 100644 --- a/interface-templates/ip/source-validation/node.def +++ b/interface-templates/ip/source-validation/node.def @@ -34,12 +34,12 @@ update: fi echo "Global value is $global" fi - if [ -d /sys/class/net/$VAR(../@) ] ; then + if [ -d /sys/class/net/$VAR(../../@) ] ; then sudo sh -c "echo $new > \ /proc/sys/net/ipv4/conf/$IFNAME/rp_filter" fi delete: - if [ -d /sys/class/net/$VAR(../@) ] ; then + if [ -d /sys/class/net/$VAR(../../@) ] ; then sudo sh -c "echo 0 > /proc/sys/net/ipv4/conf/$IFNAME/rp_filter" fi |