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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user