[nft PATCH] rule: fix chain details align indentations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Reported-by: Patrick McHardy <kaber@xxxxxxxxx>
Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@xxxxxxxxx>
---
 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));

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux