* [nft PATCH] monitor: fix missing space after chain name
@ 2015-04-07 15:05 Arturo Borrero Gonzalez
2015-04-08 17:06 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Arturo Borrero Gonzalez @ 2015-04-07 15:05 UTC (permalink / raw)
To: netfilter-devel; +Cc: pablo
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 <arturo.borrero.glez@gmail.com>
---
src/netlink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/netlink.c b/src/netlink.c
index f957295..c118502 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");
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [nft PATCH] monitor: fix missing space after chain name
2015-04-07 15:05 [nft PATCH] monitor: fix missing space after chain name Arturo Borrero Gonzalez
@ 2015-04-08 17:06 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2015-04-08 17:06 UTC (permalink / raw)
To: Arturo Borrero Gonzalez; +Cc: netfilter-devel
On Tue, Apr 07, 2015 at 05:05:14PM +0200, Arturo Borrero Gonzalez wrote:
> 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
Applied, thanks Arturo.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-08 17:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-07 15:05 [nft PATCH] monitor: fix missing space after chain name Arturo Borrero Gonzalez
2015-04-08 17:06 ` Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).