summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorDate Huang <tjjh89017@hotmail.com>2021-06-20 04:14:53 +0800
committerChristian Poessinger <christian@poessinger.com>2021-07-11 14:30:45 +0200
commitcc5fdd0bbc9553fffdd3296b4b427c8b5c4f31f0 (patch)
tree78204a4e8390968270a0fffd48a229726db4ed58 /src/conf_mode
parent68d8250fe525539427dacb6ef645d6e9c994085f (diff)
downloadvyos-1x-cc5fdd0bbc9553fffdd3296b4b427c8b5c4f31f0.tar.gz
vyos-1x-cc5fdd0bbc9553fffdd3296b4b427c8b5c4f31f0.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 (cherry picked from commit 8a78c790c1239eef533c7bbe12911aaeec4dc90f)
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 6c6e219a5..897b093cc 100755
--- a/src/conf_mode/vrf.py
+++ b/src/conf_mode/vrf.py
@@ -138,7 +138,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'
_cmd(f'sysctl -wq net.ipv4.tcp_l3mdev_accept={bind_all}')
_cmd(f'sysctl -wq net.ipv4.udp_l3mdev_accept={bind_all}')