8 Oct
2005
8 Oct
'05
11:35 a.m.
Abdul Lateef <abdul_zu@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.