summaryrefslogtreecommitdiffstats
path: root/tests/shell/features/sctp_chunks.nft
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-09-21 01:32:27 +0200
committerFlorian Westphal <fw@strlen.de>2023-09-21 15:41:52 +0200
commitb37424f137d412804e6a21d5ad04ec57fe9e5bc6 (patch)
tree4cda657123c5c14aa95863934a84002b3bf7f97d /tests/shell/features/sctp_chunks.nft
parentb6bfbc2ecf0b7fd9192479e3873632d65fc4fea1 (diff)
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 <fw@strlen.de>
Diffstat (limited to 'tests/shell/features/sctp_chunks.nft')
-rw-r--r--tests/shell/features/sctp_chunks.nft7
1 files changed, 7 insertions, 0 deletions
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
+ }
+}