diff options
author | Alvaro Neira Ayuso <alvaroneay@gmail.com> | 2015-02-09 21:09:56 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-02-10 13:09:25 +0100 |
commit | 6f22be67bdcc0e3752b4eb8f75ccefbc3250f39d (patch) | |
tree | 8267bc064adf3d11a3a6b21bcad057f1bd8f6fc1 /tests/nft-parsing-test.c | |
parent | 64279008234c2367e1b6ffa84c6b3dff5a04a779 (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/nft-parsing-test.c')
-rw-r--r-- | tests/nft-parsing-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/nft-parsing-test.c b/tests/nft-parsing-test.c index 57a5730..76e89ac 100644 --- a/tests/nft-parsing-test.c +++ b/tests/nft-parsing-test.c @@ -68,11 +68,11 @@ static int compare_test(uint32_t type, struct nft_ruleset *rs, switch (type) { case TEST_XML_RULESET: nft_ruleset_snprintf(out, sizeof(out), rs, - NFT_OUTPUT_XML, 0); + NFT_OUTPUT_XML, NFT_OF_EVENT_NEW); break; case TEST_JSON_RULESET: nft_ruleset_snprintf(out, sizeof(out), rs, - NFT_OUTPUT_JSON, 0); + NFT_OUTPUT_JSON, NFT_OF_EVENT_NEW); break; default: errno = EINVAL; |