summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/maps/dumps/0009vmap_0.nft
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-06-14 17:43:01 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-06-14 17:46:14 +0200
commit184c667a5ea8ea1945cb4784a8d5802e48f705b1 (patch)
tree04e26de7e06ba15dda30fdb0a115b8a8e4e41a84 /tests/shell/testcases/maps/dumps/0009vmap_0.nft
parent5fc919a8af67ff374746a4e3ee67281e229ccb10 (diff)
tests: shell: rename testcases/map/dump/0009vmap_0dump.nft
Missing .nft extension in dump file. Fixes: 54eb1e16cc47 ("evaluate: missing datatype definition in implicit_set_declaration()") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/maps/dumps/0009vmap_0.nft')
-rw-r--r--tests/shell/testcases/maps/dumps/0009vmap_0.nft13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/shell/testcases/maps/dumps/0009vmap_0.nft b/tests/shell/testcases/maps/dumps/0009vmap_0.nft
new file mode 100644
index 00000000..c556fece
--- /dev/null
+++ b/tests/shell/testcases/maps/dumps/0009vmap_0.nft
@@ -0,0 +1,13 @@
+table inet filter {
+ chain ssh_input {
+ }
+
+ chain wan_input {
+ tcp dport vmap { 22 : jump ssh_input }
+ }
+
+ chain prerouting {
+ type filter hook prerouting priority raw; policy accept;
+ iif vmap { "lo" : jump wan_input }
+ }
+}