From 9ea60a9f1ff5efb32cba4778197f58edbeee80c2 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 6 Jun 2013 14:50:09 +0000 Subject: [PATCH] Consider IPPROTO_NONE (59) an upper-layer protocol for IPv6. "Upper-layer" here simply means that there are no extension headers following, which is the case here. --- libnetutil/netutil.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libnetutil/netutil.cc b/libnetutil/netutil.cc index 3ee4e5c17..687384599 100644 --- a/libnetutil/netutil.cc +++ b/libnetutil/netutil.cc @@ -615,6 +615,7 @@ static int ipv6_is_extension_header(u8 type) static int ipv6_is_upperlayer(u8 type) { switch (type) { + case IP_PROTO_NONE: case IP_PROTO_TCP: case IP_PROTO_UDP: case IP_PROTO_ICMP: