1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 08:29:04 +00:00

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.
This commit is contained in:
david
2013-06-06 14:50:09 +00:00
parent 36c8bc325e
commit 9ea60a9f1f

View File

@@ -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: