netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [nft PATCH] rule: fix chain details align indentations
@ 2015-03-19 12:37 Arturo Borrero Gonzalez
  2015-03-19 13:36 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Arturo Borrero Gonzalez @ 2015-03-19 12:37 UTC (permalink / raw)
  To: netfilter-devel; +Cc: kaber, pablo

f.i:
	 type filter hook output priority 0; policy accept;
	ip daddr @test counter packets 14 bytes 1176

Reported-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
---
 src/rule.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rule.c b/src/rule.c
index 0400dec..7114380 100644
--- a/src/rule.c
+++ b/src/rule.c
@@ -444,7 +444,7 @@ static void chain_print(const struct chain *chain)
 
 	printf("\tchain %s {\n", chain->handle.chain);
 	if (chain->flags & CHAIN_F_BASECHAIN) {
-		printf("\t\t type %s hook %s priority %d; policy %s;\n",
+		printf("\t\ttype %s hook %s priority %d; policy %s;\n",
 		       chain->type,
 		       hooknum2str(chain->handle.family, chain->hooknum),
 		       chain->priority, chain_policy2str(chain->policy));


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [nft PATCH] rule: fix chain details align indentations
  2015-03-19 12:37 [nft PATCH] rule: fix chain details align indentations Arturo Borrero Gonzalez
@ 2015-03-19 13:36 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2015-03-19 13:36 UTC (permalink / raw)
  To: Arturo Borrero Gonzalez; +Cc: netfilter-devel, kaber

On Thu, Mar 19, 2015 at 01:37:59PM +0100, Arturo Borrero Gonzalez wrote:
> f.i:
> 	 type filter hook output priority 0; policy accept;
> 	ip daddr @test counter packets 14 bytes 1176

Applied, thanks. Sorry about that Patrick.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-19 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-19 12:37 [nft PATCH] rule: fix chain details align indentations Arturo Borrero Gonzalez
2015-03-19 13:36 ` 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).