summaryrefslogtreecommitdiffstats
path: root/src/rule.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-10-11 17:49:00 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-10-15 13:37:51 +0200
commit9e88aae28e9f44d010f3ecf7577357f4c0e7d622 (patch)
treee76ae3b1c7719ca9d5525acb4903d4843a8c0088 /src/rule.c
parent90ed4fb3855f0d9d881b812c75e338e5e93081ba (diff)
monitor: Use libnftables JSON output
This switches 'nft monitor' JSON output from using libnftnl's to libnftables' implementation. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/rule.c')
-rw-r--r--src/rule.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rule.c b/src/rule.c
index f6775620..e1b004c7 100644
--- a/src/rule.c
+++ b/src/rule.c
@@ -1049,8 +1049,6 @@ void chain_print_plain(const struct chain *chain, struct output_ctx *octx)
}
if (octx->handle > 0)
nft_print(octx, " # handle %" PRIu64, chain->handle.handle.id);
-
- nft_print(octx, "\n");
}
struct table *table_alloc(void)