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 <phil@xxxxxx> --- iptables/nft-arp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iptables/nft-arp.c b/iptables/nft-arp.c index 5567daa7ad530..b0405be8b2a22 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)) -- 2.20.1