mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Fix ICMPv6 assertion failure: http://seclists.org/nmap-dev/2013/q4/290
This commit is contained in:
parent
ebfe8e32dd
commit
228f0bec77
1 changed files with 1 additions and 1 deletions
|
|
@ -964,7 +964,7 @@ void UltraProbe::setIP(u8 *ippacket, u32 len, const probespec *pspec) {
|
|||
}
|
||||
|
||||
u16 UltraProbe::icmpid() const {
|
||||
assert(mypspec.proto == IPPROTO_ICMP);
|
||||
assert(mypspec.proto == IPPROTO_ICMP || mypspec.proto == IPPROTO_ICMPV6);
|
||||
return probes.IP.pd.icmp.ident;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue