"eric " <[EMAIL PROTECTED]> wrote:
> I searched through the CVS and probably overlooked the mod.  Could
> you send me the oneliner?

Index: auth.c
===================================================================
RCS file: /source/radiusd/src/main/auth.c,v
retrieving revision 1.102
diff -u -r1.102 auth.c
--- auth.c      2002/03/20 16:48:42     1.102
+++ auth.c      2002/05/31 17:05:36
@@ -458,9 +458,14 @@
                /*
                 *      Initialize our reply to the user, by taking
                 *      the reply attributes from the proxy.
+                *
+                *      Note that we DELETE the Proxy-State attributes
+                *      from the proxy reply, as they include the one
+                *      we added, which MUST NOT go back to the NAS.
                 */
                if (request->proxy_reply->vps) {
                        request->reply->vps = request->proxy_reply->vps;
+                       pairdelete(&request->reply->vps, PW_PROXY_STATE);
                        request->reply->code = request->proxy_reply->code;
                        request->proxy_reply->vps = NULL;
                }

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to