From: hno <> Date: Mon, 5 Feb 2007 22:15:03 +0000 (+0000) Subject: Need to initialize neighbors even if not using ICP. X-Git-Tag: SQUID_3_0_PRE6~148 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ee2b4f8589ea163a8a4ecb09686b5008fba0aa2;p=thirdparty%2Fsquid.git Need to initialize neighbors even if not using ICP. --- diff --git a/src/main.cc b/src/main.cc index bf62f0f56f..89e8800955 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1,6 +1,6 @@ /* - * $Id: main.cc,v 1.440 2007/01/25 20:26:11 wessels Exp $ + * $Id: main.cc,v 1.441 2007/02/05 15:15:03 hno Exp $ * * DEBUG: section 1 Startup and Main Loop * AUTHOR: Harvest Derived @@ -667,10 +667,8 @@ mainReconfigure(void) serverConnectionsOpen(); - if (theOutIcpConnection >= 0) { - neighbors_init(); - neighborsRegisterWithCacheManager(manager); - } + neighbors_init(); + neighborsRegisterWithCacheManager(manager); storeDirOpenSwapLogs(); @@ -988,10 +986,8 @@ mainInitialize(void) serverConnectionsOpen(); - if (theOutIcpConnection >= 0) { - neighbors_init(); - neighborsRegisterWithCacheManager(manager); - } + neighbors_init(); + neighborsRegisterWithCacheManager(manager); if (Config.chroot_dir) no_suid();