]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Need to initialize neighbors even if not using ICP.
authorhno <>
Mon, 5 Feb 2007 22:15:03 +0000 (22:15 +0000)
committerhno <>
Mon, 5 Feb 2007 22:15:03 +0000 (22:15 +0000)
src/main.cc

index bf62f0f56faa3c20c8151523591ff7a071e66ab3..89e880095595fb9cf3e4bc53ea822bd05b37b45c 100644 (file)
@@ -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();