[RADIATOR] possible bug when AcctTotalSinceQuery == Max-Daily-Session
Heikki Vatiainen
hvn at open.com.au
Tue Oct 29 11:15:00 CDT 2013
On 10/28/2013 07:01 PM, Francesc Romà i Frigolé wrote:
> if( ${$_[0]}->get_attr(‘Session-Time’) < 120) {
> ${$_[0]}->set_attr(‘Session-Time’, -1)
> }
>
> Is the syntax for a setter set_attr() ? or is it add_attr() ? I haven't
> found any example of the former in the manual
Hello Francesc,
try this:
${$_[0]}->change_attr('Session-Timeout', -1)
Note that the attribute is Session-Timeout, not Session-Time.
Thanks,
Heikki
--
Heikki Vatiainen <hvn at open.com.au>
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
NetWare etc.
More information about the radiator
mailing list