From 2a4a5a2c8ae21f2bcf7e81b5eafea91d799ee88a Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 29 Aug 2018 16:23:22 +0200 Subject: JSON: Make meta statement/expression extensible Lessons learned from fwd statement: We must not assume a given statement/expression may not receive further properties in the future. Therefore make meta value an object with a property "key" instead of just a string containing the key name. Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- tests/py/ip6/masquerade.t.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/py/ip6/masquerade.t.json') diff --git a/tests/py/ip6/masquerade.t.json b/tests/py/ip6/masquerade.t.json index a54761d3..8191ce51 100644 --- a/tests/py/ip6/masquerade.t.json +++ b/tests/py/ip6/masquerade.t.json @@ -249,7 +249,7 @@ { "match": { "left": { - "meta": "l4proto" + "meta": { "key": "l4proto" } }, "right": 6 } @@ -266,7 +266,7 @@ { "match": { "left": { - "meta": "l4proto" + "meta": { "key": "l4proto" } }, "right": 6 } @@ -354,7 +354,7 @@ { "match": { "left": { - "meta": "iifname" + "meta": { "key": "iifname" } }, "right": "eth0" } -- cgit v1.2.3