From: Phil Sutter Date: Thu, 31 Jan 2019 15:12:53 +0000 (+0100) Subject: arptables-nft: Remove space between *cnt= and value X-Git-Tag: v1.8.3~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9421327926a529ec8300d37f3be8a6cfab701786;p=thirdparty%2Fiptables.git arptables-nft: Remove space between *cnt= and value When printing rule counters, call xtables_print_num() with FMT_NOTABLE bit set to avoid spaces between equal sign and value. Signed-off-by: Phil Sutter Signed-off-by: Florian Westphal --- diff --git a/iptables/nft-arp.c b/iptables/nft-arp.c index 5567daa7..b0405be8 100644 --- a/iptables/nft-arp.c +++ b/iptables/nft-arp.c @@ -605,9 +605,9 @@ nft_arp_print_rule(struct nftnl_rule *r, unsigned int num, unsigned int format) if (!(format & FMT_NOCOUNTS)) { printf(", pcnt="); - xtables_print_num(cs.counters.pcnt, format); + xtables_print_num(cs.counters.pcnt, format | FMT_NOTABLE); printf("-- bcnt="); - xtables_print_num(cs.counters.bcnt, format); + xtables_print_num(cs.counters.bcnt, format | FMT_NOTABLE); } if (!(format & FMT_NONEWLINE))