]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip: use print_nl() to handle one line mode
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 20 Jan 2020 17:29:05 +0000 (09:29 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 20 Jan 2020 17:32:51 +0000 (09:32 -0800)
commitf4d7ce9bfae9710fcb984f72d1119d8bf4ff2f8c
tree2e3439ee616c12963ab64e6b1c11925a9f0c8f9c
parent970db267a0fb5036b28b2d9d4f53cb4be267ffd5
ip: use print_nl() to handle one line mode

The helper function print_nl() does the right thing and prints
the newline or backslash.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ipaddress.c