diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-07-27 00:32:04 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-07-27 00:49:32 +0200 |
commit | af1a61c91cd7564a7c3fa685d408aa5b337d2c4b (patch) | |
tree | 2dd9771eb660fcaca75ca8509b694ef7461031b6 /tests/py/inet | |
parent | 8fd9f4db4b6db6d29708653f6a50502b48686cce (diff) |
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 <pablo@netfilter.org>
Diffstat (limited to 'tests/py/inet')
-rw-r--r-- | tests/py/inet/reject.t.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/py/inet/reject.t.json b/tests/py/inet/reject.t.json index e60cd4f2..76cd1bf5 100644 --- a/tests/py/inet/reject.t.json +++ b/tests/py/inet/reject.t.json @@ -205,6 +205,16 @@ } ] +# reject with icmpx 3 +[ + { + "reject": { + "expr": "admin-prohibited", + "type": "icmpx" + } + } +] + # meta nfproto ipv4 reject with icmp host-unreachable [ { |