summaryrefslogtreecommitdiffstats
path: root/tests/jsonfiles/12-chain.json
diff options
context:
space:
mode:
authorÁlvaro Neira Ayuso <alvaroneay@gmail.com>2013-07-31 15:21:27 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-07-31 16:46:34 +0200
commit2a99ca448411afe1a9f34293e8395f719c7803c9 (patch)
tree651caea22d0411ce9ccfd8fcec6ea3543b5b8aa8 /tests/jsonfiles/12-chain.json
parent6670f8f3645fc3d271094a493880e7f06961f674 (diff)
tests: chain: add json parsing support
Test the functions for parsing chains in JSON. Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/jsonfiles/12-chain.json')
-rw-r--r--tests/jsonfiles/12-chain.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/jsonfiles/12-chain.json b/tests/jsonfiles/12-chain.json
new file mode 100644
index 0000000..e841032
--- /dev/null
+++ b/tests/jsonfiles/12-chain.json
@@ -0,0 +1 @@
+{ "chain": {"name": "forward","handle": 2,"bytes": 0,"packets": 0,"family": "ip","table": "filter","use": 0,"type": "filter","hooknum": "NF_INET_FORWARD","prio": 0,"policy": "accept"}}