summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-06 06:50:45 +0100
committerGitHub <noreply@github.com>2024-03-06 06:50:45 +0100
commit82d40098e3f2d53e2c851e8ffb165d7814c60f0f (patch)
tree01b08c3e602f7fcf254560191f478ed63f53da47 /smoketest
parentfeb83f2f2b9f1d48bb5389ca5244b56edf2efbc8 (diff)
parent2f232841a544fb3d602831cf0b2c95c447a245ea (diff)
downloadvyos-1x-82d40098e3f2d53e2c851e8ffb165d7814c60f0f.tar.gz
vyos-1x-82d40098e3f2d53e2c851e8ffb165d7814c60f0f.zip
Merge pull request #3095 from vyos/mergify/bp/sagitta/pr-3087
T6061: fix rule parsing when connection-status is used (backport #3087)
Diffstat (limited to 'smoketest')
-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'],