diff options
author | Nicolas Fort <nicolasfort1988@gmail.com> | 2024-03-05 10:54:37 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-03-06 04:32:36 +0000 |
commit | 2f232841a544fb3d602831cf0b2c95c447a245ea (patch) | |
tree | 578a39b37e65f9495fc58cc6aa1d5feb4a901aa7 /smoketest/scripts/cli | |
parent | cf906599a9ce99fce04645c822093a0eab980c97 (diff) | |
download | vyos-1x-2f232841a544fb3d602831cf0b2c95c447a245ea.tar.gz vyos-1x-2f232841a544fb3d602831cf0b2c95c447a245ea.zip |
T6061: fix rule parsing when connection-status is used
(cherry picked from commit 8f2534e9654b61b7db45788bb52ac6cf8017b054)
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-x | smoketest/scripts/cli/test_firewall.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_firewall.py b/smoketest/scripts/cli/test_firewall.py index be5960bbd..9e8473fa4 100755 --- a/smoketest/scripts/cli/test_firewall.py +++ b/smoketest/scripts/cli/test_firewall.py @@ -629,8 +629,8 @@ class TestFirewall(VyOSUnitTestSHIM.TestCase): nftables_search = [ ['ct state { established, related }', 'accept'], ['ct state invalid', 'reject'], - ['ct state new', 'ct status == dnat', 'accept'], - ['ct state { established, new }', 'ct status == snat', 'accept'], + ['ct state new', 'ct status dnat', 'accept'], + ['ct state { established, new }', 'ct status snat', 'accept'], ['ct state related', 'ct helper { "ftp", "pptp" }', 'accept'], ['drop', f'comment "{name} default-action drop"'], ['jump VYOS_STATE_POLICY'], |