From 2fcbd6315077d0a9d8c5d261e768282485d31ce6 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 9 Jul 2022 11:40:41 +0200 Subject: ip: T4517: drop forwarding from CLI "system ip disable-directed-broadcast-forwarding" --- smoketest/scripts/cli/test_system_ip.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'smoketest/scripts') 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') -- cgit v1.2.3