Re: [PATCH iproute2-next v2] ip tunnel: add json output

2019-08-07 Thread David Ahern
On 8/2/19 11:38 AM, Andrea Claudi wrote: > Add json support on iptunnel and ip6tunnel. > The plain text output format should remain the same. > > Signed-off-by: Andrea Claudi > --- > Changes since v1: > * Use print_color_* for ifname and ip addresses; > * Use print_null() instead of print_bool(

[PATCH iproute2-next v2] ip tunnel: add json output

2019-08-02 Thread Andrea Claudi
Add json support on iptunnel and ip6tunnel. The plain text output format should remain the same. Signed-off-by: Andrea Claudi --- Changes since v1: * Use print_color_* for ifname and ip addresses; * Use print_null() instead of print_bool() where appropriate; * Reduce indentation level on tnl_p