diff options
author | Florian Westphal <fw@strlen.de> | 2018-09-03 16:15:22 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-09-03 18:03:51 +0200 |
commit | aab7913f0e9bfd331980a4e6a478d3e350be9e89 (patch) | |
tree | a7a100ace1b88505478dd3682c43fd7bce5c1e24 /tests/py/ip | |
parent | 26c85388344e66abab8dda04f6f15963c7ad81d5 (diff) |
tests: fix json output for osf, socket and tproxy expressions
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/ip')
-rw-r--r-- | tests/py/ip/tproxy.t.json | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/tests/py/ip/tproxy.t.json b/tests/py/ip/tproxy.t.json index 81b7c188..1936b5f4 100644 --- a/tests/py/ip/tproxy.t.json +++ b/tests/py/ip/tproxy.t.json @@ -3,8 +3,11 @@ { "match": { "left": { - "meta": "l4proto" + "meta": { + "key": "l4proto" + } }, + "op": "==", "right": 17 } }, @@ -21,8 +24,11 @@ { "match": { "left": { - "meta": "l4proto" + "meta": { + "key": "l4proto" + } }, + "op": "==", "right": 6 } }, @@ -42,9 +48,10 @@ "left": { "payload": { "field": "protocol", - "name": "ip" + "protocol": "ip" } }, + "op": "==", "right": 6 } }, @@ -60,8 +67,11 @@ { "match": { "left": { - "meta": "l4proto" + "meta": { + "key": "l4proto" + } }, + "op": "==", "right": 17 } }, @@ -78,8 +88,11 @@ { "match": { "left": { - "meta": "l4proto" + "meta": { + "key": "l4proto" + } }, + "op": "==", "right": 6 } }, |