]> git.proxmox.com Git - mirror_iproute2.git/commit
lib: introduce print_nl
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 11 Sep 2018 15:29:33 +0000 (08:29 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 11 Sep 2018 15:29:33 +0000 (08:29 -0700)
commitb85076cd74e77538918d35992b1a9cd17ff86af8
tree6c73942c83f342344cb2a98753122b705719c222
parentbd59e5b1517b09b6f26d59f38fe6077d953c2396
lib: introduce print_nl

Common pattern in iproute commands is to print a line seperator
in non-json mode. Make that a simple function.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
13 files changed:
bridge/bridge.c
include/json_print.h
ip/ip.c
ip/ipaddress.c
ip/ipila.c
ip/ipl2tp.c
ip/ipmacsec.c
ip/ipmaddr.c
ip/ipmroute.c
ip/ipntable.c
lib/json_print.c
lib/utils.c
tc/tc.c