"Mustafa N. Deeb" <[EMAIL PROTECTED]> wrote:
> Accounting through proxy does not work
> 
> You have to the changes below and recompile, I hope FreeRadius
> programmers will add this in next releases

  I don't recall seeing that patch, and it's for an *old* version of
the source.

  All patches should be against the latest CVS version, as the bugs
may have been fixed, or the code may have been re-arranged.
 
> in acct.c
> line 57
> 
>         /*
>          *      Do accounting
>          */
>         reply = module_accounting(request);
>         
>         /*
>          *      Maybe one of the preacct modules has decided
>          *      that a proxy should be used. If so, get out of
>          *      here and send the packet.
>          */
>         if(pairfind(request->config_items, PW_PROXY_TO_REALM)) {
>                  module_accounting(request);      <<<<<----- ADD THIS
> 
>                 return reply;
>         }

  No, I don't think that's the solution.  And it's a patch to an older
version of the source.

  Please upgrade to the latest CVS snapshot.  I think that will fix
the problem.

  Alan DeKok.

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

Reply via email to