summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-02-12 16:14:49 +0000
committerGitHub <noreply@github.com>2024-02-12 16:14:49 +0000
commit2291f78ed31a6c5393f2efaf68ff8a04a3a844a2 (patch)
tree9dbdbaeb59ccdf06daf19efea3b2ffb9a77ca09f /smoketest/scripts/cli
parent3234c16803f4f578c65f3d426e3ca0d00c626711 (diff)
parentcc0f08c94b9e97315b3f8094aeec1c0e428ba79e (diff)
downloadvyos-1x-2291f78ed31a6c5393f2efaf68ff8a04a3a844a2.tar.gz
vyos-1x-2291f78ed31a6c5393f2efaf68ff8a04a3a844a2.zip
Merge pull request #2992 from vyos/mergify/bp/sagitta/pr-2991
T6019: fix smoketest after upgrading nftables and libnftnl packages. (backport #2991)
Diffstat (limited to 'smoketest/scripts/cli')
-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 a7dd11145..415f3436f 100755
--- a/smoketest/scripts/cli/test_firewall.py
+++ b/smoketest/scripts/cli/test_firewall.py
@@ -652,8 +652,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'],