From: Amos Jeffries Date: Tue, 3 Jun 2014 07:02:53 +0000 (-0600) Subject: Bug 4056: assertion MemPools[type] from netdbExchangeStart() X-Git-Tag: SQUID_3_4_6~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0f1c801e3cc0278c60fcddd1564dc11f4fa7422;p=thirdparty%2Fsquid.git Bug 4056: assertion MemPools[type] from netdbExchangeStart() --- diff --git a/src/neighbors.cc b/src/neighbors.cc index 6a9abad7e6..03998727f5 100644 --- a/src/neighbors.cc +++ b/src/neighbors.cc @@ -1229,7 +1229,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