summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-08-15 12:14:34 +0200
committerGitHub <noreply@github.com>2024-08-15 12:14:34 +0200
commit45d8ca97291128e1549ee7bcba7eed6ac6bdfdb3 (patch)
treeaf7eb8293dd225f14616aa029e098f13bf3e2c7e /smoketest
parent8baa5b535430d1a14f16004174cb91f3e6d266ca (diff)
parent85f19deb34884337af343fc39b1ce484c9ba1ddb (diff)
downloadvyos-1x-45d8ca97291128e1549ee7bcba7eed6ac6bdfdb3.tar.gz
vyos-1x-45d8ca97291128e1549ee7bcba7eed6ac6bdfdb3.zip
Merge pull request #3984 from vyos/mergify/bp/sagitta/pr-3981
T6646: conntrack: in ignore rules, if protocols=all, do not append it to the rule (backport #3981)
Diffstat (limited to 'smoketest')
-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 7870561e7..1902c32f2 100755
--- a/smoketest/scripts/cli/test_system_conntrack.py
+++ b/smoketest/scripts/cli/test_system_conntrack.py
@@ -254,6 +254,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'])