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
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-02-12 15:52:40 +0000
commitcc0f08c94b9e97315b3f8094aeec1c0e428ba79e (patch)
tree9dbdbaeb59ccdf06daf19efea3b2ffb9a77ca09f /smoketest/scripts/cli/test_firewall.py
parent3234c16803f4f578c65f3d426e3ca0d00c626711 (diff)
downloadvyos-1x-cc0f08c94b9e97315b3f8094aeec1c0e428ba79e.tar.gz
vyos-1x-cc0f08c94b9e97315b3f8094aeec1c0e428ba79e.zip
T6019: fix smoketest after upgrading nftables and libnftnl packages.
(cherry picked from commit f3205d6dd1ea04adecbd8c857c80015ed53f2140)
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'],