DATE_SUB (rlm_perl)
Alan DeKok
aland at ox.org
Sat Oct 8 17:35:03 CEST 2005
Abdul Lateef <abdul_zu at yahoo.com> wrote:
> DATE_SUB('CURDATE()',INTERVAL
> ($RAD_REQUEST{'Acct-Session-Time:-0'} +
You're mixing Perl hash expansion and FreeRADIUS variable expansion.
$RAD_REQUEST{'Acct-Session-Time'} contains the value of
Acct-Session-Time. If it doesn't exist, you'll have to use *perl*
code to check that. Using 'Acct-Session-Time:-0' won't work.
Alan DeKok.
More information about the Freeradius-Users
mailing list