summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorDate Huang <tjjh89017@hotmail.com>2021-06-20 04:14:53 +0800
committerDate Huang <tjjh89017@hotmail.com>2021-06-20 04:36:08 +0800
commit8a78c790c1239eef533c7bbe12911aaeec4dc90f (patch)
tree15a92b5f8385ff34770de3b06e205d6a37cd950a /src/conf_mode
parente5e3772eac3a646d2a0dec0cc7437ee9e364a26b (diff)
downloadvyos-1x-8a78c790c1239eef533c7bbe12911aaeec4dc90f.tar.gz
vyos-1x-8a78c790c1239eef533c7bbe12911aaeec4dc90f.zip
vrf: T3637: bind-to-all didn't work properly
because of typo change from `bind_to_all` to `bind-to-all` refer: interface-definitions/vrf.xml.in
Diffstat (limited to 'src/conf_mode')
-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}')