summaryrefslogtreecommitdiffstats
path: root/tests/jsonfiles
diff options
context:
space:
mode:
authorArturo Borrero <arturo.borrero.glez@gmail.com>2014-10-02 13:58:42 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-10-03 14:04:31 +0200
commitbd4052ed3f0ff6ddbf7213d886e342385b7c68f4 (patch)
tree79dc059e64a814a19207335d7df6de979bb77fb3 /tests/jsonfiles
parentdfe156710a7efb1c676ef5d90729c02482a20f84 (diff)
tests: add tests for the masq expression
The masq expression is lacking of tests. Let's add some. 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/68-rule-masq.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/jsonfiles/68-rule-masq.json b/tests/jsonfiles/68-rule-masq.json
new file mode 100644
index 0000000..758f5ca
--- /dev/null
+++ b/tests/jsonfiles/68-rule-masq.json
@@ -0,0 +1 @@
+{"nftables":[{"rule":{"family":"ip6","table":"nat","chain":"postrouting","handle":4,"expr":[{"type":"masq","flags":12}]}}]}