diff options
author | Phil Sutter <phil@nwl.cc> | 2018-08-02 17:05:25 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-08-04 14:58:55 +0200 |
commit | 83bc1890aa939108fd06b80f35139fedd5856cbc (patch) | |
tree | acaae238284afed1027e1100ec0895cfc07b720c /xlate-test.py | |
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>
Diffstat (limited to 'xlate-test.py')
0 files changed, 0 insertions, 0 deletions