summaryrefslogtreecommitdiffstats
path: root/tests/shell/features/map_lookup.nft
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/features/map_lookup.nft')
-rw-r--r--tests/shell/features/map_lookup.nft11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/shell/features/map_lookup.nft b/tests/shell/features/map_lookup.nft
new file mode 100644
index 00000000..06c4c9d9
--- /dev/null
+++ b/tests/shell/features/map_lookup.nft
@@ -0,0 +1,11 @@
+# a4878eeae390 ("netfilter: nf_tables: relax set/map validation checks")
+# v6.5-rc1~163^2~256^2~8
+table ip t {
+ map m {
+ typeof ip daddr : meta mark
+ }
+
+ chain c {
+ ip saddr @m
+ }
+}