diff mbox

[nft] rule: fix chain details align indentations

Message ID 20150319123759.28211.63107.stgit@nfdev.cica.es
State Accepted
Headers show

Commit Message

Arturo Borrero March 19, 2015, 12:37 p.m. UTC
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(-)


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

Comments

Pablo Neira Ayuso March 19, 2015, 1:36 p.m. UTC | #1
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.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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));