summaryrefslogtreecommitdiff
path: root/src/conf_mode/system_ip.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-15 20:41:13 +0200
committerGitHub <noreply@github.com>2024-04-15 20:41:13 +0200
commitd8bca084a1f050a52bef46f5e1b589cbf89ce54d (patch)
tree31aaf14c1cb55852d8fe13d5992e0c37ddddaa3e /src/conf_mode/system_ip.py
parent131bb134ec7f527ade19557cce62877e824a34bb (diff)
parent67bc10841f088e4ccabc30b1442b43f8d5902f5e (diff)
downloadvyos-1x-d8bca084a1f050a52bef46f5e1b589cbf89ce54d.tar.gz
vyos-1x-d8bca084a1f050a52bef46f5e1b589cbf89ce54d.zip
Merge pull request #3310 from vyos/mergify/bp/sagitta/pr-3309
T5535: firewall: migrate command <set system ip disable-directed-broadcast> to firewall global-optinos (backport #3309)
Diffstat (limited to 'src/conf_mode/system_ip.py')
-rwxr-xr-xsrc/conf_mode/system_ip.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/conf_mode/system_ip.py b/src/conf_mode/system_ip.py
index b945b51f2..2a0bda91a 100755
--- a/src/conf_mode/system_ip.py
+++ b/src/conf_mode/system_ip.py
@@ -81,11 +81,6 @@ def apply(opt):
value = '0' if (tmp != None) else '1'
write_file('/proc/sys/net/ipv4/conf/all/forwarding', value)
- # enable/disable IPv4 directed broadcast forwarding
- 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)
-
# configure multipath
tmp = dict_search('multipath.ignore_unreachable_nexthops', opt)
value = '1' if (tmp != None) else '0'