1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00
This commit is contained in:
dmiller
2013-12-17 14:10:49 +00:00
parent ebfe8e32dd
commit 228f0bec77

View File

@@ -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;
}