summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/maps/dumps/typeof_maps_0.nft
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/maps/dumps/typeof_maps_0.nft')
-rw-r--r--tests/shell/testcases/maps/dumps/typeof_maps_0.nft7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shell/testcases/maps/dumps/typeof_maps_0.nft b/tests/shell/testcases/maps/dumps/typeof_maps_0.nft
index 4361ca3d..faa73cd1 100644
--- a/tests/shell/testcases/maps/dumps/typeof_maps_0.nft
+++ b/tests/shell/testcases/maps/dumps/typeof_maps_0.nft
@@ -9,8 +9,15 @@ table inet t {
elements = { 1 : 0x00000001, 4095 : 0x00004095 }
}
+ map m3 {
+ typeof ip saddr . ip daddr : meta mark
+ elements = { 1.2.3.4 . 5.6.7.8 : 0x00000001,
+ 2.3.4.5 . 6.7.8.9 : 0x00000002 }
+ }
+
chain c {
ct mark set osf name map @m1
meta mark set vlan id map @m2
+ meta mark set ip saddr . ip daddr map @m3
}
}