mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Fix ICMPv6 assertion failure: http://seclists.org/nmap-dev/2013/q4/290
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user