From: Phil Sutter Date: Mon, 28 May 2018 16:51:09 +0000 (+0200) Subject: tests/py: Add missing JSON equivalent for rule in inet/tcp.t X-Git-Tag: v0.9.0~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8bd2ff3eda0953fbd1f2e71a2a7c3f6048433cf4;p=thirdparty%2Fnftables.git tests/py: Add missing JSON equivalent for rule in inet/tcp.t Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- diff --git a/tests/py/inet/tcp.t.json b/tests/py/inet/tcp.t.json index 559206df..f5df72aa 100644 --- a/tests/py/inet/tcp.t.json +++ b/tests/py/inet/tcp.t.json @@ -1021,6 +1021,22 @@ } ] +# tcp flags == syn +[ + { + "match": { + "left": { + "payload": { + "field": "flags", + "name": "tcp" + } + }, + "op": "==", + "right": "syn" + } + } +] + # tcp flags & (syn|fin) == (syn|fin) [ {