summaryrefslogtreecommitdiffstats
path: root/tests/jsonfiles/60-rule-real.json
diff options
context:
space:
mode:
authorAlvaro Neira Ayuso <alvaroneay@gmail.com>2015-02-09 21:09:56 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2015-02-10 13:09:25 +0100
commit6f22be67bdcc0e3752b4eb8f75ccefbc3250f39d (patch)
tree8267bc064adf3d11a3a6b21bcad057f1bd8f6fc1 /tests/jsonfiles/60-rule-real.json
parent64279008234c2367e1b6ffa84c6b3dff5a04a779 (diff)
tests: update JSON/XML tests with the new syntax
Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/jsonfiles/60-rule-real.json')
-rw-r--r--tests/jsonfiles/60-rule-real.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/jsonfiles/60-rule-real.json b/tests/jsonfiles/60-rule-real.json
index 0a98726..9ec79cf 100644
--- a/tests/jsonfiles/60-rule-real.json
+++ b/tests/jsonfiles/60-rule-real.json
@@ -1 +1 @@
-{"nftables":[{"rule":{"family":"ip","table":"filter","chain":"output","handle":60,"expr":[{"type":"meta","dreg":1,"key":"iif"},{"type":"cmp","sreg":1,"op":"eq","data":{"reg":{"type":"value","len":4,"data0":"0x00000001"}}},{"type":"counter","pkts":0,"bytes":0}]}}]}
+{"nftables":[{"add":[{"rule":{"family":"ip","table":"filter","chain":"output","handle":60,"expr":[{"type":"meta","dreg":1,"key":"iif"},{"type":"cmp","sreg":1,"op":"eq","data":{"reg":{"type":"value","len":4,"data0":"0x00000001"}}},{"type":"counter","pkts":0,"bytes":0}]}}]}]}