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/inet/map.t.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/py/inet/map.t.json') diff --git a/tests/py/inet/map.t.json b/tests/py/inet/map.t.json index b7bb10a9..bb7f2a05 100644 --- a/tests/py/inet/map.t.json +++ b/tests/py/inet/map.t.json @@ -3,7 +3,7 @@ { "mangle": { "left": { - "meta": "mark" + "meta": { "key": "mark" } }, "right": { "map": { @@ -36,7 +36,7 @@ { "mangle": { "left": { - "meta": "mark" + "meta": { "key": "mark" } }, "right": { "map": { -- cgit v1.2.3