summaryrefslogtreecommitdiffstats
path: root/tests/shell
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-12-14 09:39:13 +0100
committerFlorian Westphal <fw@strlen.de>2023-12-14 13:34:11 +0100
commit060ed8655d64874a92e6fba2ba9452b2aa94849e (patch)
tree2031b4dcf6481040352c3b85e27b59a76c5f0827 /tests/shell
parent7008b1200fb4988b7cd7ee1c5399cae071688d50 (diff)
evaluate: fix gmp assertion with too-large reject code
Before: nft: gmputil.c:77: mpz_get_uint8: Assertion `cnt <= 1' failed. After: Error: reject code must be integer in range 0-255 Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell')
-rw-r--r--tests/shell/testcases/bogons/nft-f/icmp_reject_type_uint8_assert1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/shell/testcases/bogons/nft-f/icmp_reject_type_uint8_assert b/tests/shell/testcases/bogons/nft-f/icmp_reject_type_uint8_assert
new file mode 100644
index 00000000..1fc85b29
--- /dev/null
+++ b/tests/shell/testcases/bogons/nft-f/icmp_reject_type_uint8_assert
@@ -0,0 +1 @@
+rule t c reject with icmp 512