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 <acla...@redhat.com> > --- > ip/ip6tunnel.c | 22 ++-------------------- > ip/iptunnel.c | 19 ++----------------- > ip/tunnel.c | 26 ++++++++++++++++++++++++++ > ip/tunnel.h | 3 +++ > 4 files changed, 33 insertions(+), 37 deletions(-)
applied to iproute2-next. Thanks