]> git.proxmox.com Git - mirror_iproute2.git/commit
tunnel: factorize printout of GRE key and flags
authorAndrea Claudi <aclaudi@redhat.com>
Fri, 12 Jul 2019 17:02:14 +0000 (19:02 +0200)
committerDavid Ahern <dsahern@gmail.com>
Thu, 18 Jul 2019 17:19:47 +0000 (10:19 -0700)
commitee713339d381ca0758a5efa0a54b4eded0c1bcda
tree7099e21e56b8770dc4c9d400c6eb19541c791352
parent1f250b6c5375277b1d6943358903121e491d9bca
tunnel: factorize printout of GRE key and flags

print_tunnel() functions in ip6tunnel.c and iptunnel.c contains
the same code to print out GRE key and flags

This commit factorize the code in a helper function in tunnel.c

Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
ip/ip6tunnel.c
ip/iptunnel.c
ip/tunnel.c
ip/tunnel.h