From: Pablo Neira Ayuso Date: Wed, 6 Dec 2023 18:30:44 +0000 (+0100) Subject: tests: py: missing json output in never merge across non-expression statements X-Git-Tag: v1.1.0~172 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=94fd162ea4d25fe6b0b4d58dcb7ff66dc55f3247;p=thirdparty%2Fnftables.git tests: py: missing json output in never merge across non-expression statements Add missing json output. Fixes: 99ab1b8feb16 ("rule: never merge across non-expression statements") Signed-off-by: Pablo Neira Ayuso --- diff --git a/tests/py/ip/ip.t.json.output b/tests/py/ip/ip.t.json.output index b201cdaa..351ae935 100644 --- a/tests/py/ip/ip.t.json.output +++ b/tests/py/ip/ip.t.json.output @@ -230,3 +230,34 @@ } ] +# ip saddr 1.2.3.4 counter ip daddr 3.4.5.6 +[ + { + "match": { + "left": { + "payload": { + "field": "saddr", + "protocol": "ip" + } + }, + "op": "==", + "right": "1.2.3.4" + } + }, + { + "counter": null + }, + { + "match": { + "left": { + "payload": { + "field": "daddr", + "protocol": "ip" + } + }, + "op": "==", + "right": "3.4.5.6" + } + } +] +