summaryrefslogtreecommitdiffstats
path: root/tests/jsonfiles/31-rule-meta.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/31-rule-meta.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/31-rule-meta.json')
-rw-r--r--tests/jsonfiles/31-rule-meta.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/jsonfiles/31-rule-meta.json b/tests/jsonfiles/31-rule-meta.json
index d39a6ed..2c2d681 100644
--- a/tests/jsonfiles/31-rule-meta.json
+++ b/tests/jsonfiles/31-rule-meta.json
@@ -1 +1 @@
-{"nftables":[{"rule":{"family":"ip","table":"filter","chain":"output","handle":8,"expr":[{"type":"meta","dreg":1,"key":"protocol"},{"type":"cmp","sreg":1,"op":"eq","data":{"reg":{"type":"value","len":4,"data0":"0x000003e8"}}},{"type":"counter","pkts":0,"bytes":0}]}}]}
+{"nftables":[{"add":[{"rule":{"family":"ip","table":"filter","chain":"output","handle":8,"expr":[{"type":"meta","dreg":1,"key":"protocol"},{"type":"cmp","sreg":1,"op":"eq","data":{"reg":{"type":"value","len":4,"data0":"0x000003e8"}}},{"type":"counter","pkts":0,"bytes":0}]}}]}]}