]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip/tunnel: Be consistent when printing tunnel collect metadata
authorSerhey Popovych <serhe.popovych@gmail.com>
Mon, 22 Jan 2018 17:23:45 +0000 (19:23 +0200)
committerDavid Ahern <dsahern@gmail.com>
Wed, 24 Jan 2018 18:01:26 +0000 (10:01 -0800)
commit00ff4b8e31af4640e9d9beae6067dfd5b00c31ba
tree23253bf0b26d6c5c5bda14099e2ed1e50db3068f
parent6517b5c0ac13ac67d2f8f803f9038c96145c4612
ip/tunnel: Be consistent when printing tunnel collect metadata

Print only "external" if collect meta data attribute
is given: rest of parameters are irrelevant. This is
to follow gre6.

For both JSON and non-JSON output use "external" for
all tunnels including vxlan and geneve.

Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
ip/iplink_geneve.c
ip/iplink_vxlan.c
ip/link_gre.c
ip/link_gre6.c
ip/link_ip6tnl.c
ip/link_iptnl.c