diff options
author | Phil Sutter <phil@nwl.cc> | 2021-02-02 19:47:46 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-02-03 11:31:30 +0100 |
commit | a02ef54d9c4fa82c10d199d027f42f136b1bddc3 (patch) | |
tree | 9e57330dd888d6a78cacc67083f6f8626c49e697 /tests/py/inet | |
parent | 533565244d88a818d8828ebabd7625e5a8a4c374 (diff) |
json: Do not abbreviate reject statement object
No need to reduce output size, also this way output is more predictable.
While being at it, drop some pointless chunks from
tests/py/bridge/reject.t.json.output.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'tests/py/inet')
-rw-r--r-- | tests/py/inet/reject.t.json.output | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/tests/py/inet/reject.t.json.output b/tests/py/inet/reject.t.json.output index 6e18b96b..043617a7 100644 --- a/tests/py/inet/reject.t.json.output +++ b/tests/py/inet/reject.t.json.output @@ -25,30 +25,33 @@ } ] -# meta nfproto ipv4 reject +# reject [ { "reject": { "expr": "port-unreachable", - "type": "icmp" + "type": "icmpx" } } ] -# meta nfproto ipv6 reject +# meta nfproto ipv4 reject [ { "reject": { "expr": "port-unreachable", - "type": "icmpv6" + "type": "icmp" } } ] -# reject with icmpx type port-unreachable +# meta nfproto ipv6 reject [ { - "reject": null + "reject": { + "expr": "port-unreachable", + "type": "icmpv6" + } } ] |