From 892c96b9f72c90a978bce9ea994522df20aa5ed8 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Mon, 7 Feb 2011 05:21:27 -0700 Subject: [PATCH] Author: D Kazarov Bug 3137: RADIUS auth helper does not send identifier to RADIUS server --- helpers/basic_auth/squid_radius_auth/squid_rad_auth.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.47.2