summaryrefslogtreecommitdiffstats
path: root/tests/shell/features
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2024-06-13 00:37:48 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2024-06-13 02:26:49 +0200
commitc624578ee18131492e7f72b662d5faf7c042e0d8 (patch)
tree795d180f0f6537d8c9042f9c862c87dd1641e656 /tests/shell/features
parentb385d8f215b833e03d7a1997cfc6544f1d4d31ea (diff)
tests: shell: skip ip option tests if kernel does not support it
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/features')
-rw-r--r--tests/shell/features/ip_options.nft8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/shell/features/ip_options.nft b/tests/shell/features/ip_options.nft
new file mode 100644
index 00000000..0b8cb09c
--- /dev/null
+++ b/tests/shell/features/ip_options.nft
@@ -0,0 +1,8 @@
+# dbb5281a1f84 ("netfilter: nf_tables: add support for matching IPv4 options")
+# v5.3-rc1~140^2~153^2~1
+
+table ip x {
+ chain y {
+ ip option ra value 255
+ }
+}