]> git.proxmox.com Git - mirror_iproute2.git/commit
vxlan: show correct ttl inherit info
authorHangbin Liu <liuhangbin@gmail.com>
Thu, 27 Sep 2018 07:28:36 +0000 (15:28 +0800)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 4 Oct 2018 16:20:45 +0000 (09:20 -0700)
commit952a7a1931009b6589bdb3d95ba6cb3c6acf95d4
treeff231950a87fa1c4189a30eb147bf2b4f1227f58
parentb45e300024bb0936a41821ad75117dc08b65669f
vxlan: show correct ttl inherit info

We should only show ttl inherit when IFLA_VXLAN_TTL_INHERIT supplied.
Otherwise show the ttl number, or auto when it is 0.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/iplink_vxlan.c