[iptables PATCH 15/23] arptables: Fix printing non-standard target parameters

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

 



Output lacked a space between target name and first parameter.

Signed-off-by: Phil Sutter <phil@xxxxxx>
---
 iptables/nft-arp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iptables/nft-arp.c b/iptables/nft-arp.c
index f5b05f864963a..f599f87f7523a 100644
--- a/iptables/nft-arp.c
+++ b/iptables/nft-arp.c
@@ -588,7 +588,7 @@ nft_arp_save_rule(const void *data, unsigned int format)
 	if (cs->jumpto != NULL && strcmp(cs->jumpto, "") != 0) {
 		printf("-j %s", cs->jumpto);
 	} else if (cs->target) {
-		printf("-j %s", cs->target->name);
+		printf("-j %s ", cs->target->name);
 		cs->target->print(&cs->arp, cs->target->t, format & FMT_NUMERIC);
 	}
 
-- 
2.18.0

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