1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Avoid sending NS probe on Npcap Loopback (BSOD on Win7). See #429

This commit is contained in:
dmiller
2016-07-11 14:14:53 +00:00
parent fd5926ed1c
commit 7b4180b8d7

View File

@@ -1845,7 +1845,11 @@ int FPHost6::build_probe_list() {
this->total_probes++;
/* ICMP Probe #3: Neighbor Solicitation. (only sent to on-link targets) */
if (this->target_host->directlyConnected()) {
if (this->target_host->directlyConnected()
#ifdef WIN32
&& !(g_has_npcap_loopback && this->target_host->ifType() == devt_loopback)
#endif
) {
ip6 = new IPv6Header();
icmp6 = new ICMPv6Header();
this->target_host->SourceSockAddr(&ss, &slen);