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/comp.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/comp.t.json.output')
-rw-r--r-- | tests/py/inet/comp.t.json.output | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/py/inet/comp.t.json.output b/tests/py/inet/comp.t.json.output index 21517998..435c3de4 100644 --- a/tests/py/inet/comp.t.json.output +++ b/tests/py/inet/comp.t.json.output @@ -24,6 +24,7 @@ "protocol": "comp" } }, + "op": "==", "right": 0 } } @@ -55,6 +56,7 @@ "protocol": "comp" } }, + "op": "==", "right": { "range": [ 51, 69 ] } @@ -90,6 +92,7 @@ "protocol": "comp" } }, + "op": "==", "right": { "set": [ 51, @@ -135,6 +138,7 @@ "protocol": "comp" } }, + "op": "==", "right": { "set": [ { "range": [ 51, 85 ] } |