From c95d9af48d6a331026cb40b63f80b57a888ab888 Mon Sep 17 00:00:00 2001 From: Arturo Borrero Date: Tue, 14 Oct 2014 19:36:22 +0200 Subject: tests: add tests for nft_redir expression This patch add some tests for the nft_redir expression. Signed-off-by: Arturo Borrero Gonzalez Signed-off-by: Pablo Neira Ayuso --- tests/jsonfiles/69-rule-redir.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/jsonfiles/69-rule-redir.json (limited to 'tests/jsonfiles/69-rule-redir.json') 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"}]}}]} -- cgit v1.2.3