From 8eeedce89d8bf0ad58da398782c2ca8a91d83a32 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Thu, 14 Dec 2023 17:56:59 +0100 Subject: evaluate: exthdr: statement arg must be not be a range Else we get: BUG: unknown expression type range nft: src/netlink_linearize.c:909: netlink_gen_expr: Assertion `0' failed. Signed-off-by: Florian Westphal --- tests/shell/testcases/bogons/nft-f/exthdr_with_range_bug | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/shell/testcases/bogons/nft-f/exthdr_with_range_bug (limited to 'tests/shell/testcases/bogons') diff --git a/tests/shell/testcases/bogons/nft-f/exthdr_with_range_bug b/tests/shell/testcases/bogons/nft-f/exthdr_with_range_bug new file mode 100644 index 00000000..e307e7cc --- /dev/null +++ b/tests/shell/testcases/bogons/nft-f/exthdr_with_range_bug @@ -0,0 +1 @@ +add rule t c ip option ra set 0-1 -- cgit v1.2.3