From 14e976733077f02a2e2d5c5508c5795c7a5fbf3b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 3 Dec 2014 19:08:41 -0800 Subject: [PATCH] tunnel: decode ESP tunnel type Add ESP to decode switch. --- ip/tunnel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ip/tunnel.c b/ip/tunnel.c index f163dad6..33c78e3f 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;