diff options
author | Phil Sutter <phil@nwl.cc> | 2018-08-29 16:23:27 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-08-30 12:19:36 +0200 |
commit | 90d4ee087171e75d5313359ad6b6f1341e51ddc5 (patch) | |
tree | 59572c39aa334813b9b090fa46a57fedf9ff5aac /tests/py/inet/ip_tcp.t.json.output | |
parent | 8f6e1c37e3e74e1fd490a0de5360ff1467c521cd (diff) |
JSON: Make match op mandatory, introduce 'in' operator
This special operator is required for cases where missing operator does
not lead to same results as equal operator, i.e. with bitmasks on RHS.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/inet/ip_tcp.t.json.output')
-rw-r--r-- | tests/py/inet/ip_tcp.t.json.output | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/py/inet/ip_tcp.t.json.output b/tests/py/inet/ip_tcp.t.json.output index bd6a8620..4a6a05d7 100644 --- a/tests/py/inet/ip_tcp.t.json.output +++ b/tests/py/inet/ip_tcp.t.json.output @@ -8,6 +8,7 @@ "protocol": "ip" } }, + "op": "==", "right": 6 } }, @@ -19,6 +20,7 @@ "protocol": "tcp" } }, + "op": "==", "right": 22 } } @@ -34,6 +36,7 @@ "protocol": "ip" } }, + "op": "==", "right": "1.2.3.4" } }, @@ -45,6 +48,7 @@ "protocol": "tcp" } }, + "op": "==", "right": 22 } } @@ -60,6 +64,7 @@ "protocol": "ip" } }, + "op": "==", "right": 6 } }, @@ -74,6 +79,7 @@ "protocol": "ip" } }, + "op": "==", "right": "1.2.3.4" } }, @@ -85,6 +91,7 @@ "protocol": "tcp" } }, + "op": "==", "right": 22 } } @@ -100,6 +107,7 @@ "protocol": "ip" } }, + "op": "==", "right": 6 } }, @@ -114,6 +122,7 @@ "protocol": "tcp" } }, + "op": "==", "right": 22 } } |