From: Amos Jeffries Date: Mon, 7 Feb 2011 12:21:27 +0000 (-0700) Subject: Author: D Kazarov X-Git-Tag: SQUID_3_1_11~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=892c96b9f72c90a978bce9ea994522df20aa5ed8;p=thirdparty%2Fsquid.git Author: D Kazarov Bug 3137: RADIUS auth helper does not send identifier to RADIUS server --- diff --git a/helpers/basic_auth/squid_radius_auth/squid_rad_auth.c b/helpers/basic_auth/squid_radius_auth/squid_rad_auth.c index bc947148f2..20ab75c8e0 100644 --- a/helpers/basic_auth/squid_radius_auth/squid_rad_auth.c +++ b/helpers/basic_auth/squid_radius_auth/squid_rad_auth.c @@ -387,6 +387,7 @@ authenticate(int socket_fd, const char *username, const char *passwd) *ptr++ = len + 2; memcpy(ptr, identifier, len); ptr += len; + total_length += len + 2; } else { *ptr++ = PW_NAS_IP_ADDRESS; *ptr++ = 6;