--------------------- PatchSet 1938 Date: 2001/04/14 18:36:58 Author: hno Branch: authinfo Tag: (none) Log: Send client IP address to basic auth helpers Members: src/auth/basic/auth_basic.c:1.11.16.2->1.11.16.3 Index: squid/src/auth/basic/auth_basic.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/auth/basic/auth_basic.c,v retrieving revision 1.11.16.2 retrieving revision 1.11.16.3 diff -u -r1.11.16.2 -r1.11.16.3 --- squid/src/auth/basic/auth_basic.c 13 Apr 2001 23:29:44 -0000 1.11.16.2 +++ squid/src/auth/basic/auth_basic.c 14 Apr 2001 18:36:58 -0000 1.11.16.3 @@ -607,7 +607,7 @@ r->auth_user_request = auth_user_request; /* mark the user as haveing verification in progress */ auth_user_request->auth_user->credentials_status = CREDENTIALS_PENDING; - snprintf(buf, 8192, "%s %s\n", basic_auth->username, basic_auth->passwd); + snprintf(buf, 8192, "%s %s %s\n", basic_auth->username, basic_auth->passwd, inet_ntoa(auth_user_request->auth_user->ipaddr)); helperSubmit(basicauthenticators, buf, authenticateBasicHandleReply, r); } }