diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-04-15 16:40:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 16:40:13 +0200 |
commit | f3d45223da40ea615d8b4ea73ec902462e3cebb4 (patch) | |
tree | 3d3bc8355dc1ba88286c34e1dc8c6be15523a1a6 /src/conf_mode/system_ip.py | |
parent | 8528764c97a5dd91ece7d3df5646fdacd648a588 (diff) | |
parent | 76dcecafca977b640dd16d8e68c4a050ca1af4fb (diff) | |
download | vyos-1x-f3d45223da40ea615d8b4ea73ec902462e3cebb4.tar.gz vyos-1x-f3d45223da40ea615d8b4ea73ec902462e3cebb4.zip |
Merge pull request #3309 from nicolas-fort/T5535
T5535: firewall: migrate command <set system ip disable-directed-broadcast> to firewall global-optinos
Diffstat (limited to 'src/conf_mode/system_ip.py')
-rwxr-xr-x | src/conf_mode/system_ip.py | 5 |
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' |