]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4056: assertion MemPools[type] from netdbExchangeStart()
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 22 May 2014 10:13:57 +0000 (03:13 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 22 May 2014 10:13:57 +0000 (03:13 -0700)
src/neighbors.cc

index 3d37ace3528e05eafb4c808ea712d1db066159ad..c8ee2cba8d87a8a388b354effff37823faaf0dd5 100644 (file)
@@ -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