From 8a78c790c1239eef533c7bbe12911aaeec4dc90f Mon Sep 17 00:00:00 2001 From: Date Huang Date: Sun, 20 Jun 2021 04:14:53 +0800 Subject: 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 --- src/conf_mode/vrf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode') 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}') -- cgit v1.2.3