From a02ef54d9c4fa82c10d199d027f42f136b1bddc3 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 2 Feb 2021 19:47:46 +0100 Subject: 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 --- tests/py/inet/reject.t.json.output | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'tests/py/inet/reject.t.json.output') 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" + } } ] -- cgit v1.2.3