From aab7913f0e9bfd331980a4e6a478d3e350be9e89 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Mon, 3 Sep 2018 16:15:22 +0200 Subject: tests: fix json output for osf, socket and tproxy expressions Signed-off-by: Florian Westphal --- tests/py/ip/tproxy.t.json | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'tests/py/ip/tproxy.t.json') 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 } }, -- cgit v1.2.3