summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-05-28 18:51:09 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-06-01 09:16:48 +0200
commit8bd2ff3eda0953fbd1f2e71a2a7c3f6048433cf4 (patch)
tree52f5b046ed32cbaac35862cb741b4acad3e3d8f3 /tests
parentc34637ea8be9e88fa76aedab4a5244c04f43a6ea (diff)
tests/py: Add missing JSON equivalent for rule in inet/tcp.t
Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/py/inet/tcp.t.json16
1 files changed, 16 insertions, 0 deletions
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)
[
{