From b37424f137d412804e6a21d5ad04ec57fe9e5bc6 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Thu, 21 Sep 2023 01:32:27 +0200 Subject: tests: shell: add feature probe for sctp chunk matching Skip the relavant parts of the test if nft_exthdr lacks sctp support. Signed-off-by: Florian Westphal --- tests/shell/features/sctp_chunks.nft | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/shell/features/sctp_chunks.nft (limited to 'tests/shell/features/sctp_chunks.nft') diff --git a/tests/shell/features/sctp_chunks.nft b/tests/shell/features/sctp_chunks.nft new file mode 100644 index 00000000..520afd64 --- /dev/null +++ b/tests/shell/features/sctp_chunks.nft @@ -0,0 +1,7 @@ +# 133dc203d77d ("netfilter: nft_exthdr: Support SCTP chunks") +# v5.14-rc1~119^2~373^2~15 +table ip t { + chain c { + sctp chunk init 0 + } +} -- cgit v1.2.3