From 721b9dec5499b0a06a1b7a30c2a989cdc712a344 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Mon, 18 Apr 2022 00:00:18 +0200 Subject: tests: add concat test case with integer base type subkey Signed-off-by: Florian Westphal --- tests/shell/testcases/maps/dumps/typeof_maps_0.nft | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/shell/testcases/maps/dumps/typeof_maps_0.nft') diff --git a/tests/shell/testcases/maps/dumps/typeof_maps_0.nft b/tests/shell/testcases/maps/dumps/typeof_maps_0.nft index ea411335..a5c0a609 100644 --- a/tests/shell/testcases/maps/dumps/typeof_maps_0.nft +++ b/tests/shell/testcases/maps/dumps/typeof_maps_0.nft @@ -20,11 +20,17 @@ table inet t { elements = { "eth0" . tcp . 22 : accept } } + map m5 { + typeof ipsec in reqid . iifname : verdict + elements = { 23 . "eth0" : accept } + } + 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 iifname . ip protocol . th dport vmap @m4 iifname . ip protocol . th dport vmap { "eth0" . tcp . 22 : accept, "eth1" . udp . 67 : drop } + ipsec in reqid . iifname vmap @m5 } } -- cgit v1.2.3