summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_system_conntrack.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-08-14 22:47:02 +0200
committerGitHub <noreply@github.com>2024-08-14 22:47:02 +0200
commit2aa26f836caf777255a06083208ee7bb9dab4726 (patch)
treeb3b4da382fe38782344bfc054abe849662157937 /smoketest/scripts/cli/test_system_conntrack.py
parent948efe77310820a39083745573ae99644e30ef6e (diff)
parentebcb9c6e9a5b55219c3d538686df4a55cdcdc86d (diff)
downloadvyos-1x-2aa26f836caf777255a06083208ee7bb9dab4726.tar.gz
vyos-1x-2aa26f836caf777255a06083208ee7bb9dab4726.zip
Merge pull request #3983 from vyos/mergify/bp/circinus/pr-3981
T6646: conntrack: in ignore rules, if protocols=all, do not append it to the rule (backport #3981)
Diffstat (limited to 'smoketest/scripts/cli/test_system_conntrack.py')
-rwxr-xr-xsmoketest/scripts/cli/test_system_conntrack.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_system_conntrack.py b/smoketest/scripts/cli/test_system_conntrack.py
index 3ae7b6217..40e0d245e 100755
--- a/smoketest/scripts/cli/test_system_conntrack.py
+++ b/smoketest/scripts/cli/test_system_conntrack.py
@@ -206,6 +206,7 @@ class TestSystemConntrack(VyOSUnitTestSHIM.TestCase):
self.cli_set(base_path + ['ignore', 'ipv4', 'rule', '2', 'source', 'address', '192.0.2.1'])
self.cli_set(base_path + ['ignore', 'ipv4', 'rule', '2', 'destination', 'group', 'address-group', address_group])
+ self.cli_set(base_path + ['ignore', 'ipv4', 'rule', '2', 'protocol', 'all'])
self.cli_set(base_path + ['ignore', 'ipv6', 'rule', '11', 'source', 'address', 'fe80::1'])
self.cli_set(base_path + ['ignore', 'ipv6', 'rule', '11', 'destination', 'address', 'fe80::2'])