summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-08-14 17:33:55 +0100
committerGitHub <noreply@github.com>2024-08-14 17:33:55 +0100
commit4806d8755314f0ea3d21a1198e85b6d7ab0d0000 (patch)
tree1784725c73a0f47f833d6da0d754412e7e25fb0b /smoketest
parente0ce3f0e5a979e678d20a77f37fb6626806c28a5 (diff)
parent2d953bedd0e416ead924f77ec612c997f950535a (diff)
downloadvyos-1x-4806d8755314f0ea3d21a1198e85b6d7ab0d0000.tar.gz
vyos-1x-4806d8755314f0ea3d21a1198e85b6d7ab0d0000.zip
Merge pull request #3981 from nicolas-fort/T6646
T6646: conntrack: in ignore rules, if protocols=all, do not append it to the rule
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 c07fdce77..72deb7525 100755
--- a/smoketest/scripts/cli/test_system_conntrack.py
+++ b/smoketest/scripts/cli/test_system_conntrack.py
@@ -209,6 +209,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'])