diff options
author | Florian Westphal <fw@strlen.de> | 2023-09-21 01:32:27 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-09-21 15:41:52 +0200 |
commit | b37424f137d412804e6a21d5ad04ec57fe9e5bc6 (patch) | |
tree | 4cda657123c5c14aa95863934a84002b3bf7f97d /tests/shell/features/sctp_chunks.nft | |
parent | b6bfbc2ecf0b7fd9192479e3873632d65fc4fea1 (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.nft | 7 |
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 + } +} |