]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Boost debugs for WCCPv2 startup actions
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 16 Jan 2009 09:49:43 +0000 (22:49 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 16 Jan 2009 09:49:43 +0000 (22:49 +1300)
src/wccp2.cc

index eee03a35b71d1c0d5611962ab98e9f0a0bbd3be1..bb34d448044a84b70406faa1484802392883fe10 100644 (file)
@@ -919,10 +919,13 @@ wccp2Init(void)
         service_list_ptr->wccp_packet_size = ntohs(wccp2_here_i_am_header.length) + sizeof(wccp2_here_i_am_header);
 
         /* Add the event if everything initialised correctly */
+        debugs(80,3,"wccp2Init: scheduled 'HERE_I_AM' message to " << wccp2_numrouters << "routers.");
         if (wccp2_numrouters) {
             if (!eventFind(wccp2HereIam, NULL)) {
                 eventAdd("wccp2HereIam", wccp2HereIam, NULL, 1, 1);
             }
+            else
+                debugs(80,3,"wccp2Init: skip duplicate 'HERE_I_AM'.");
         }
 
         service_list_ptr = service_list_ptr->next;