From cd861145b95a1d0fc9b716e806fed8935df56adc Mon Sep 17 00:00:00 2001 From: Arturo Borrero Date: Tue, 7 Apr 2015 17:05:14 +0200 Subject: monitor: fix missing space after chain name Due to change f3ff9e9 ("rule: delete extra space in rule indentation") in function rule_print(), a missing space happens in monitor. before this patch: % nft monitor add rule ip test-table test-chainip protocol tcp after this patch: % nft monitor add rule ip test-table test-chain ip protocol tcp Signed-off-by: Arturo Borrero Gonzalez Signed-off-by: Pablo Neira Ayuso --- src/netlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/netlink.c') diff --git a/src/netlink.c b/src/netlink.c index f957295e..c118502a 100644 --- a/src/netlink.c +++ b/src/netlink.c @@ -1869,7 +1869,7 @@ static int netlink_events_rule_cb(const struct nlmsghdr *nlh, int type, r = netlink_delinearize_rule(monh->ctx, nlr); nlr_for_each_set(nlr, rule_map_decompose_cb, NULL); - printf("add rule %s %s %s", family, table, chain); + printf("add rule %s %s %s ", family, table, chain); rule_print(r); printf("\n"); -- cgit v1.2.3