diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-07-09 11:40:41 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-07-09 11:40:41 +0200 |
commit | 2fcbd6315077d0a9d8c5d261e768282485d31ce6 (patch) | |
tree | 5fe859c7f2b2e843380ec9d898fa63f261599836 /smoketest/scripts/cli/test_system_ip.py | |
parent | 07a4920b17c3741b50ffcb596d4433b54f7e529e (diff) | |
download | vyos-1x-2fcbd6315077d0a9d8c5d261e768282485d31ce6.tar.gz vyos-1x-2fcbd6315077d0a9d8c5d261e768282485d31ce6.zip |
ip: T4517: drop forwarding from CLI "system ip disable-directed-broadcast-forwarding"
Diffstat (limited to 'smoketest/scripts/cli/test_system_ip.py')
-rwxr-xr-x | smoketest/scripts/cli/test_system_ip.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_system_ip.py b/smoketest/scripts/cli/test_system_ip.py index 00fce654c..f71ef5b3f 100755 --- a/smoketest/scripts/cli/test_system_ip.py +++ b/smoketest/scripts/cli/test_system_ip.py @@ -38,12 +38,12 @@ class TestSystemIP(VyOSUnitTestSHIM.TestCase): self.assertEqual(read_file(all_forwarding), '0') def test_system_ip_directed_broadcast_forwarding(self): - # Test if IPv4 directed broadcast forwarding can be disabled globally, default is '1' - # which means forwarding enabled + # Test if IPv4 directed broadcast forwarding can be disabled globally, + # default is '1' which means forwarding enabled bc_forwarding = '/proc/sys/net/ipv4/conf/all/bc_forwarding' self.assertEqual(read_file(bc_forwarding), '1') - self.cli_set(base_path + ['disable-directed-broadcast-forwarding']) + self.cli_set(base_path + ['disable-directed-broadcast']) self.cli_commit() self.assertEqual(read_file(bc_forwarding), '0') |