commit | 83bc1890aa939108fd06b80f35139fedd5856cbc | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Thu Aug 02 17:05:25 2018 +0200 |
committer | Florian Westphal <fw@strlen.de> | Sat Aug 04 14:58:55 2018 +0200 |
tree | acaae238284afed1027e1100ec0895cfc07b720c | |
parent | aaed1b68cba7fe78fca42b9fc774b3b6887eff51 [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>