]> git.proxmox.com Git - mirror_iproute2.git/commit
iproute: implement JSON and color output
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 8 Feb 2018 16:26:25 +0000 (08:26 -0800)
committerDavid Ahern <dsahern@gmail.com>
Sat, 10 Feb 2018 16:20:39 +0000 (08:20 -0800)
commit663c3cb23103f4e3bc4e9610fa54f15d6701f20f
tree9d5362ac4f909d2301bca0cb7817ac320a448585
parent6cbd9465bc46ebf8e008084292273af592d9f3be
iproute: implement JSON and color output

Add JSON and color output formatting to ip route command.
Similar to existing address and link output.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David Ahern <dsahern@gmail.com>
include/utils.h
ip/iproute.c
ip/iproute_lwtunnel.c