diff options
author | Phil Sutter <phil@nwl.cc> | 2018-08-29 16:23:22 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-08-30 12:19:36 +0200 |
commit | 2a4a5a2c8ae21f2bcf7e81b5eafea91d799ee88a (patch) | |
tree | 6dc5e3d0c196c6ec2bff0d22367c0875bdb32f92 /tests/py/ip/ip.t.json | |
parent | 0ab82a84ddd25f742f18c1becbf78a74fcec2dce (diff) |
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 <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip/ip.t.json')
-rw-r--r-- | tests/py/ip/ip.t.json | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/py/ip/ip.t.json b/tests/py/ip/ip.t.json index d66e4264..a6b53571 100644 --- a/tests/py/ip/ip.t.json +++ b/tests/py/ip/ip.t.json @@ -1577,7 +1577,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } @@ -1600,7 +1600,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } @@ -1623,7 +1623,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } @@ -1646,7 +1646,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } @@ -1669,7 +1669,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } @@ -1692,7 +1692,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } @@ -1715,7 +1715,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } @@ -1738,7 +1738,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } @@ -1761,7 +1761,7 @@ { "match": { "left": { - "meta": "iif" + "meta": { "key": "iif" } }, "right": "lo" } |