From: hno <> Date: Sat, 11 Mar 2006 05:40:24 +0000 (+0000) Subject: Bug #779: With 2.5 rel there is no more the DUPLICATE IP logging in cache.log X-Git-Tag: SQUID_3_0_PRE4~296 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b2fd4ec23cbcc672cf144bb8539e0269eaf35d4;p=thirdparty%2Fsquid.git Bug #779: With 2.5 rel there is no more the DUPLICATE IP logging in cache.log --- diff --git a/src/ACLMaxUserIP.cc b/src/ACLMaxUserIP.cc index de60c90163..d081e86500 100644 --- a/src/ACLMaxUserIP.cc +++ b/src/ACLMaxUserIP.cc @@ -1,5 +1,5 @@ /* - * $Id: ACLMaxUserIP.cc,v 1.8 2005/05/06 01:57:55 hno Exp $ + * $Id: ACLMaxUserIP.cc,v 1.9 2006/03/10 22:40:24 hno Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -126,6 +126,8 @@ ACLMaxUserIP::match(auth_user_request_t * auth_user_request, if (authenticateAuthUserRequestIPCount(auth_user_request) <= maximum) return 0; + debug(28, 1) ("aclMatchUserMaxIP: user '%s' tries to use too many IP addresses (max %d allowed)!\n", auth_user_request->username(), maximum); + /* this is a match */ if (flags.strict) {