From 9e88aae28e9f44d010f3ecf7577357f4c0e7d622 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 11 Oct 2018 17:49:00 +0200 Subject: monitor: Use libnftables JSON output This switches 'nft monitor' JSON output from using libnftnl's to libnftables' implementation. Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- src/rule.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/rule.c') 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) -- cgit v1.2.3