summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/ip6.t.json.output
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-08-29 16:23:27 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-08-30 12:19:36 +0200
commit90d4ee087171e75d5313359ad6b6f1341e51ddc5 (patch)
tree59572c39aa334813b9b090fa46a57fedf9ff5aac /tests/py/ip6/ip6.t.json.output
parent8f6e1c37e3e74e1fd490a0de5360ff1467c521cd (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/ip6/ip6.t.json.output')
-rw-r--r--tests/py/ip6/ip6.t.json.output13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/py/ip6/ip6.t.json.output b/tests/py/ip6/ip6.t.json.output
index 48f28b3d..6c20939f 100644
--- a/tests/py/ip6/ip6.t.json.output
+++ b/tests/py/ip6/ip6.t.json.output
@@ -8,6 +8,7 @@
"protocol": "ip6"
}
},
+ "op": "==",
"right": "cs7"
}
}
@@ -39,6 +40,7 @@
"protocol": "ip6"
}
},
+ "op": "==",
"right": {
"set": [
"cs0",
@@ -111,6 +113,7 @@
"protocol": "ip6"
}
},
+ "op": "==",
"right": {
"set": [
6,
@@ -136,6 +139,7 @@
"protocol": "ip6"
}
},
+ "op": "==",
"right": {
"set": [ 6, 17, 33, 50, 51, 58, 108, 132, 136 ]
}
@@ -171,6 +175,7 @@
"protocol": "ip6"
}
},
+ "op": "==",
"right": 50
}
}
@@ -202,6 +207,7 @@
"protocol": "ip6"
}
},
+ "op": "==",
"right": "0:1234:1234:1234:1234:1234:1234:1234"
}
}
@@ -217,6 +223,7 @@
"protocol": "ip6"
}
},
+ "op": "==",
"right": "1234:0:1234:1234:1234:1234:1234:1234"
}
}
@@ -232,6 +239,7 @@
"protocol": "ip6"
}
},
+ "op": "==",
"right": "1234:1234:0:1234:1234:1234:1234:1234"
}
}
@@ -247,6 +255,7 @@
"protocol": "ip6"
}
},
+ "op": "==",
"right": "1234:1234:1234:0:1234:1234:1234:1234"
}
}
@@ -262,6 +271,7 @@
"protocol": "ip6"
}
},
+ "op": "==",
"right": "1234:1234:1234:1234:1234:0:1234:1234"
}
}
@@ -277,6 +287,7 @@
"protocol": "ip6"
}
},
+ "op": "==",
"right": "1234:1234:1234:1234:1234:1234:1234:0"
}
}
@@ -292,6 +303,7 @@
"protocol": "ip6"
}
},
+ "op": "==",
"right": "::18.52.18.52"
}
}
@@ -343,6 +355,7 @@
"left": {
"meta": { "key": "iif" }
},
+ "op": "==",
"right": "lo"
}
},