From af1a61c91cd7564a7c3fa685d408aa5b337d2c4b Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 27 Jul 2021 00:32:04 +0200 Subject: tests: py: missing json update for numeric reject with icmp numeric Add missing tests to cover json support for reject with icmp numeric. Fixes: 1ab1fcbc19a8 ("parser_bison: parse number as reject icmp code") Signed-off-by: Pablo Neira Ayuso --- tests/py/ip/reject.t.json | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/py/ip') diff --git a/tests/py/ip/reject.t.json b/tests/py/ip/reject.t.json index c0d7791b..3e1d28de 100644 --- a/tests/py/ip/reject.t.json +++ b/tests/py/ip/reject.t.json @@ -75,6 +75,16 @@ } ] +# reject with icmp 3 +[ + { + "reject": { + "expr": "port-unreachable", + "type": "icmp" + } + } +] + # mark 0x80000000 reject with tcp reset [ { -- cgit v1.2.3