Problem after upgrade from 2.1 to 2.2

Nadir Aliyev nadiritus at gmail.com
Sat Jun 8 23:43:54 CEST 2013


Yes i found problem 20 minutes ago. Seems to be syntax again change to
%{%{foo}:-0} last time %{foo:-0} worked with 2.1

Thanks Alan :)


On Sun, Jun 9, 2013 at 2:26 AM, Alan DeKok <aland at deployingradius.com>wrote:

> Nadir Aliyev wrote:
> > Dear All i have problem after upgrade from 2.1 to 2.2!
> >
> > I use postgresql module. After upgrade to 2.2 i get sql errors of
> accounting updates!
> >
> > I checked logs and i see that Acct-Input-Gigawords Acct-Output-Gigawords
> values are NULL.
>
>  Those attributes are sent by the NAS.
>
> > [sql]         expand: UPDATE radacct
> > SET AcctStopTime = ('%S'::timestamp - '%{Acct-Delay-Time:-0}'::interval),
>
>   That shoult be %{%{Acct-Delay-Time}:-0}
>
>   See "man unlang".  All of the other expansions need to be changed,
> too.  i.e.:
>
> OLD: %{foo:-0}
>
> NEW: %{%{foo}:-0}
>
>
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130609/b97bb964/attachment.html>


More information about the Freeradius-Users mailing list