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 <acla...@redhat.com> > --- > 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_print_gre_flags() > --- > ip/ip6tunnel.c | 66 ++++++++++++++++++++++++--------------- > ip/iptunnel.c | 84 ++++++++++++++++++++++++++++++++------------------ > ip/tunnel.c | 37 +++++++++++++++++----- > 3 files changed, 125 insertions(+), 62 deletions(-) >
applied to iproute2-next. Thanks