summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_firewall.py
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2024-02-12 11:44:10 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2024-02-12 11:44:10 +0000
commitf3205d6dd1ea04adecbd8c857c80015ed53f2140 (patch)
tree6389772d146a559cfae5b8725ce4556cafefbb20 /smoketest/scripts/cli/test_firewall.py
parentbf595a899ae192f24793374978f44d31fa43d195 (diff)
downloadvyos-1x-f3205d6dd1ea04adecbd8c857c80015ed53f2140.tar.gz
vyos-1x-f3205d6dd1ea04adecbd8c857c80015ed53f2140.zip
T6019: fix smoketest after upgrading nftables and libnftnl packages.
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 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'],