summaryrefslogtreecommitdiff
path: root/src/conf_mode/system-ip.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-09 11:40:41 +0200
committerChristian Poessinger <christian@poessinger.com>2022-07-09 11:40:41 +0200
commit2fcbd6315077d0a9d8c5d261e768282485d31ce6 (patch)
tree5fe859c7f2b2e843380ec9d898fa63f261599836 /src/conf_mode/system-ip.py
parent07a4920b17c3741b50ffcb596d4433b54f7e529e (diff)
downloadvyos-1x-2fcbd6315077d0a9d8c5d261e768282485d31ce6.tar.gz
vyos-1x-2fcbd6315077d0a9d8c5d261e768282485d31ce6.zip
ip: T4517: drop forwarding from CLI "system ip disable-directed-broadcast-forwarding"
Diffstat (limited to 'src/conf_mode/system-ip.py')
-rwxr-xr-xsrc/conf_mode/system-ip.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/system-ip.py b/src/conf_mode/system-ip.py
index a0e1e0e50..0c5063ed3 100755
--- a/src/conf_mode/system-ip.py
+++ b/src/conf_mode/system-ip.py
@@ -65,7 +65,7 @@ def apply(opt):
write_file('/proc/sys/net/ipv4/conf/all/forwarding', value)
# enable/disable IPv4 directed broadcast forwarding
- tmp = dict_search('disable_directed_broadcast_forwarding', opt)
+ tmp = dict_search('disable_directed_broadcast', opt)
value = '0' if (tmp != None) else '1'
write_file('/proc/sys/net/ipv4/conf/all/bc_forwarding', value)