summaryrefslogtreecommitdiffstats
path: root/tests/jsonfiles
diff options
context:
space:
mode:
authorArturo Borrero <arturo.borrero.glez@gmail.com>2014-10-14 19:36:22 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-10-30 17:16:21 +0100
commitc95d9af48d6a331026cb40b63f80b57a888ab888 (patch)
treeeef43904c1b85f34078e0bb8be457f48bb2e4d7c /tests/jsonfiles
parentb4523ec09e62fc69cb36d5cb4e134efaa3479373 (diff)
tests: add tests for nft_redir expression
This patch add some tests for the nft_redir expression. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/jsonfiles')
-rw-r--r--tests/jsonfiles/69-rule-redir.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/jsonfiles/69-rule-redir.json b/tests/jsonfiles/69-rule-redir.json
new file mode 100644
index 0000000..043fff2
--- /dev/null
+++ b/tests/jsonfiles/69-rule-redir.json
@@ -0,0 +1 @@
+{"nftables":[{"rule":{"family":"ip6","table":"nat","chain":"prerouting","handle":4,"expr":[{"type":"redir"}]}}]}