mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +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:
parent
36c8bc325e
commit
9ea60a9f1f
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue