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/ip6.t.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'tests/py/ip6/ip6.t.json') diff --git a/tests/py/ip6/ip6.t.json b/tests/py/ip6/ip6.t.json index 272ef0d0..925789cd 100644 --- a/tests/py/ip6/ip6.t.json +++ b/tests/py/ip6/ip6.t.json @@ -1409,7 +1409,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } @@ -1432,7 +1432,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } @@ -1455,7 +1455,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } @@ -1478,7 +1478,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } @@ -1501,7 +1501,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } @@ -1524,7 +1524,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } @@ -1547,7 +1547,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } @@ -1570,7 +1570,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } @@ -1593,7 +1593,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } -- cgit v1.2.3