From 7b4180b8d7de0ee80ea6ffa1130254a099add8e3 Mon Sep 17 00:00:00 2001 From: dmiller Date: Mon, 11 Jul 2016 14:14:53 +0000 Subject: [PATCH] Avoid sending NS probe on Npcap Loopback (BSOD on Win7). See #429 --- FPEngine.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/FPEngine.cc b/FPEngine.cc index f64304178..f7488c355 100644 --- a/FPEngine.cc +++ b/FPEngine.cc @@ -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);