From: Stephen Hemminger Date: Thu, 4 Dec 2014 03:08:41 +0000 (-0800) Subject: tunnel: decode ESP tunnel type X-Git-Tag: v3.18.0~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14e976733077f02a2e2d5c5508c5795c7a5fbf3b;p=thirdparty%2Fiproute2.git tunnel: decode ESP tunnel type Add ESP to decode switch. --- diff --git a/ip/tunnel.c b/ip/tunnel.c index f163dad60..33c78e3f5 100644 --- a/ip/tunnel.c +++ b/ip/tunnel.c @@ -51,6 +51,9 @@ const char *tnl_strproto(__u8 proto) case IPPROTO_IPV6: strcpy(buf, "ipv6"); break; + case IPPROTO_ESP: + strcpy(buf, "esp"); + break; case 0: strcpy(buf, "any"); break;