summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-20 12:40:08 +0200
committerGitHub <noreply@github.com>2021-06-20 12:40:08 +0200
commit6f11089458a544a5ccee60b0d10eea0612006195 (patch)
tree6484afed3b9f04640277f0f4b78bfb60ac7a3950
parent63a094b339296d97ecf3b87eac8d1d3ce8fadd3a (diff)
parent8a78c790c1239eef533c7bbe12911aaeec4dc90f (diff)
downloadvyos-1x-6f11089458a544a5ccee60b0d10eea0612006195.tar.gz
vyos-1x-6f11089458a544a5ccee60b0d10eea0612006195.zip
Merge pull request #888 from tjjh89017/fix_vrf_bind-to-all
vrf: T3637: bind-to-all didn't work properly
-rwxr-xr-xsrc/conf_mode/vrf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vrf.py b/src/conf_mode/vrf.py
index a39da8991..936561edc 100755
--- a/src/conf_mode/vrf.py
+++ b/src/conf_mode/vrf.py
@@ -141,7 +141,7 @@ def apply(vrf):
# set the default VRF global behaviour
bind_all = '0'
- if 'bind_to_all' in vrf:
+ if 'bind-to-all' in vrf:
bind_all = '1'
call(f'sysctl -wq net.ipv4.tcp_l3mdev_accept={bind_all}')
call(f'sysctl -wq net.ipv4.udp_l3mdev_accept={bind_all}')