From 184c667a5ea8ea1945cb4784a8d5802e48f705b1 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 14 Jun 2020 17:43:01 +0200 Subject: 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 --- tests/shell/testcases/maps/dumps/0009vmap_0 | 13 ------------- tests/shell/testcases/maps/dumps/0009vmap_0.nft | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 tests/shell/testcases/maps/dumps/0009vmap_0 create mode 100644 tests/shell/testcases/maps/dumps/0009vmap_0.nft diff --git a/tests/shell/testcases/maps/dumps/0009vmap_0 b/tests/shell/testcases/maps/dumps/0009vmap_0 deleted file mode 100644 index 540a8af8..00000000 --- a/tests/shell/testcases/maps/dumps/0009vmap_0 +++ /dev/null @@ -1,13 +0,0 @@ -table inet filter { - chain ssh_input { - } - - chain wan_input { - tcp dport vmap { 22 : jump ssh_input } - } - - chain prerouting { - type filter hook prerouting priority -300; policy accept; - iif vmap { "lo" : jump wan_input } - } -} 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 } + } +} -- cgit v1.2.3