On 1/23/18 12:19 PM, Serhey Popovych wrote: > Introduce and use tnl_print_endpoint() helper to print > of tunnel endpoint address. > > Note that for AF_INET and AF_INET6 inet_ntop(3) is used > that may return NULL in case of failure and while unlikely > format_host_rta() might return NULL too. Handle this case > when passing local/remote to print_string(). > > Signed-off-by: Serhey Popovych <serhe.popov...@gmail.com> > --- > ip/link_gre.c | 21 ++------------------- > ip/link_gre6.c | 26 ++------------------------ > ip/link_ip6tnl.c | 15 ++------------- > ip/link_iptnl.c | 21 ++------------------- > ip/link_vti.c | 21 ++------------------- > ip/link_vti6.c | 21 ++------------------- > ip/tunnel.c | 27 +++++++++++++++++++++++++++ > ip/tunnel.h | 2 ++ > 8 files changed, 41 insertions(+), 113 deletions(-) > >
This one no longer applies cleanly after the latest merge to master. Please update -- and fix the commit messages to use more than 50 columns.