Skip to contentSkip to conversation

rule: fix chain details align indentations

PATCH Applied Arturo Borrero Gonzalez 2 participants 2 messages Mar 19, 2015 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rule: fix chain details align indentations

f.i:

	 type filter hook output priority 0; policy accept;
	ip daddr @test counter packets 14 bytes 1176
---
 src/rule.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/rule.c +1 -1
index 0400dec..7114380 100644
@@ -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));
maintainer Applied
#1 lore raw
Quoted 3 lines · Arturo Borrero Gonzalez

f.i:

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

Applied, thanks. Sorry about that Patrick.