Re: [PATCH iproute2-next] tunnel: factorize printout of GRE key and flags

2019-07-18 Thread David Ahern
On 7/12/19 11:02 AM, Andrea Claudi wrote: > 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 > --- > ip/ip6tunnel.c | 22 ++-

[PATCH iproute2-next] tunnel: factorize printout of GRE key and flags

2019-07-12 Thread Andrea Claudi
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 --- ip/ip6tunnel.c | 22 ++ ip/iptunnel.c | 19 ++- ip/t