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 <h...@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.
_______________________________________________
radiator mailing list
radiator@open.com.au
http://www.open.com.au/mailman/listinfo/radiator

Reply via email to