From: Amos Jeffries Date: Fri, 16 Jan 2009 09:49:43 +0000 (+1300) Subject: Boost debugs for WCCPv2 startup actions X-Git-Tag: SQUID_3_2_0_1~1258 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=516764851141b98fe5fd3135fe389300443c8c64;p=thirdparty%2Fsquid.git Boost debugs for WCCPv2 startup actions --- diff --git a/src/wccp2.cc b/src/wccp2.cc index eee03a35b7..bb34d44804 100644 --- a/src/wccp2.cc +++ b/src/wccp2.cc @@ -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;