summaryrefslogtreecommitdiffstats
path: root/tests/shell/features/inner_matching.nft
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-09-18 12:28:18 +0200
committerFlorian Westphal <fw@strlen.de>2023-09-18 13:08:41 +0200
commitad86eb24be368a9f8fc44e1057ee75394c560adf (patch)
tree37d7d32eeb8013dcf7981e5893b303ffc66919f9 /tests/shell/features/inner_matching.nft
parent4a265e4d1a44ed624ed7b4e688ad39352956a0bf (diff)
tests/shell: skip inner matching tests if unsupported
Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'tests/shell/features/inner_matching.nft')
-rw-r--r--tests/shell/features/inner_matching.nft7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shell/features/inner_matching.nft b/tests/shell/features/inner_matching.nft
new file mode 100644
index 00000000..6c86fd35
--- /dev/null
+++ b/tests/shell/features/inner_matching.nft
@@ -0,0 +1,7 @@
+# 3a07327d10a0 ("netfilter: nft_inner: support for inner tunnel header matching")
+# v6.2-rc1~99^2~350^2~4
+table ip t {
+ chain c {
+ udp dport 4789 vxlan ip saddr 1.2.3.4
+ }
+}