diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-12-06 19:30:44 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-12-07 15:51:40 +0100 |
commit | 94fd162ea4d25fe6b0b4d58dcb7ff66dc55f3247 (patch) | |
tree | 7b6fc4a44a289544ac547b378cdfe1980bd00899 /tests | |
parent | 5cbc7f821755771c4c48de5802138a89611fd625 (diff) |
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 <pablo@netfilter.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/py/ip/ip.t.json.output | 31 |
1 files changed, 31 insertions, 0 deletions
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" + } + } +] + |