From: Amos Jeffries Date: Thu, 22 May 2014 10:13:57 +0000 (-0700) Subject: Bug 4056: assertion MemPools[type] from netdbExchangeStart() X-Git-Tag: SQUID_3_5_0_1~224 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e51c81979bf6e565802083d3aa4ca329324fb16b;p=thirdparty%2Fsquid.git Bug 4056: assertion MemPools[type] from netdbExchangeStart() --- diff --git a/src/neighbors.cc b/src/neighbors.cc index 3d37ace352..c8ee2cba8d 100644 --- a/src/neighbors.cc +++ b/src/neighbors.cc @@ -1269,7 +1269,7 @@ peerDNSConfigure(const ipcache_addrs *ia, const DnsLookupDetails &, void *data) peerCountMcastPeersSchedule(p, 10); #if USE_ICMP - if (p->type != PEER_MULTICAST) + if (p->type != PEER_MULTICAST && IamWorkerProcess()) if (!p->options.no_netdb_exchange) eventAddIsh("netdbExchangeStart", netdbExchangeStart, p, 30.0, 1); #endif