summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_firewall.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-06 05:31:52 +0100
committerGitHub <noreply@github.com>2024-03-06 05:31:52 +0100
commit44a37687ccfa10a50f079611870d738484c6a4c4 (patch)
tree8a1441c0df2d3b0ff51c79612b49a3552ffa1d01 /smoketest/scripts/cli/test_firewall.py
parentb7e12d3fcc9768f2890a7823e266643ffb5568c4 (diff)
parent8f2534e9654b61b7db45788bb52ac6cf8017b054 (diff)
downloadvyos-1x-44a37687ccfa10a50f079611870d738484c6a4c4.tar.gz
vyos-1x-44a37687ccfa10a50f079611870d738484c6a4c4.zip
Merge pull request #3087 from nicolas-fort/T6061-ct-status
T6061: fix rule parsing when connection-status is used
Diffstat (limited to 'smoketest/scripts/cli/test_firewall.py')
-rwxr-xr-xsmoketest/scripts/cli/test_firewall.py4
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'],