]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: D Kazarov <d.y.kazarov@mail.ru>
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 7 Feb 2011 04:50:11 +0000 (21:50 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 7 Feb 2011 04:50:11 +0000 (21:50 -0700)
Bug 3137: RADIUS auth helper does not send identifier to RADIUS server

helpers/basic_auth/RADIUS/basic_radius_auth.cc

index 81043b70d370c4c16866d2c0c0aa28809cf7808f..cdbf94e3657b10f80e52446a8cda4a605f2b504a 100644 (file)
@@ -375,6 +375,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;