summaryrefslogtreecommitdiffstats
path: root/iptables/nft-arp.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-08-02 17:05:25 +0200
committerFlorian Westphal <fw@strlen.de>2018-08-04 14:58:55 +0200
commit83bc1890aa939108fd06b80f35139fedd5856cbc (patch)
treeacaae238284afed1027e1100ec0895cfc07b720c /iptables/nft-arp.c
parentaaed1b68cba7fe78fca42b9fc774b3b6887eff51 (diff)
arptables: Fix for trailing spaces in output
This changes mangle target to print whitespace before each option, not afterwards. This fixes any cases of trailing or double whitespace in arptables output. While being at it, introduce ipaddr_to() helper in libarpt_mangle.c to simplify arpmangle_print() a bit. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/nft-arp.c')
0 files changed, 0 insertions, 0 deletions