]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip-route: Prevent some double spaces in output
authorPhil Sutter <phil@nwl.cc>
Tue, 23 Aug 2016 09:52:45 +0000 (11:52 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 29 Aug 2016 17:35:33 +0000 (10:35 -0700)
commit7cc7cb8a888bf50c4e118b6bce4c6926321d0689
tree6fe074dad368032ddb315bfa9c2aa606770ec6c9
parent9f9e2bb88e9bf76c434992dda405dc8a83ad2f88
ip-route: Prevent some double spaces in output

The code is a bit messy, as it starts with space after text and at some
point switches to space before text. But either way, printing space
before *and* after text almost certainly leads to printing more
whitespace than necessary.

Signed-off-by: Phil Sutter <phil@nwl.cc>
ip/iproute.c