diff options
author | Nicolas Fort <nicolasfort1988@gmail.com> | 2024-08-14 12:12:56 +0000 |
---|---|---|
committer | Nicolas Fort <nicolasfort1988@gmail.com> | 2024-08-14 12:12:56 +0000 |
commit | 2d953bedd0e416ead924f77ec612c997f950535a (patch) | |
tree | c0956619c4f6e1bfea4acfc8199c659d9e5cdb43 /smoketest | |
parent | e229d7498cc77298c79af9811a742f3ad54edf4c (diff) | |
download | vyos-1x-2d953bedd0e416ead924f77ec612c997f950535a.tar.gz vyos-1x-2d953bedd0e416ead924f77ec612c997f950535a.zip |
T6646: conntrack: in ignore rules, if protocols=all, do not append it to the rule
Diffstat (limited to 'smoketest')
-rwxr-xr-x | smoketest/scripts/cli/test_system_conntrack.py | 1 |
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']) |