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

index 33ec543563c214632d388acfca7f93dbf77e7815..97587f7d13f153b13880fd4c1155d6f9f838102a 100644 (file)
@@ -922,10 +922,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;