Re: [PATCH iproute2-next 4/7] ip: add json support to ntable

2018-03-06 Thread David Ahern
On 3/5/18 8:04 PM, Stephen Hemminger wrote: > @@ -338,274 +339,308 @@ static const char *ntable_strtime_delta(__u32 msec) > return str; > } > > -static int print_ntable(const struct sockaddr_nl *who, struct nlmsghdr *n, > void *arg) > +static void print_ndtconfig(const struct ndt_config

[PATCH iproute2-next 4/7] ip: add json support to ntable

2018-03-05 Thread Stephen Hemminger
From: Stephen Hemminger Add JSON (and limited color) to ip neighbor table parameter output. Signed-off-by: Stephen Hemminger --- ip/ipntable.c | 415 -- 1 file changed, 226