New feature in v3: cast!

Alan DeKok aland at deployingradius.com
Mon May 13 17:45:52 CEST 2013


Brian Candler wrote:
> On Mon, May 13, 2013 at 12:30:19PM +0100, Phil Mayers wrote:
>>> This is also a reason to implement list qualifiers:
>>>
>>>    if (reply:Session-Time < 100)
>> I don't understand; you can do this now. Doesn't it already work?
> 
> As a 2.2.x user, I'd have to write
> 
>     if ("%{reply:Session-Time}" < 100)

  No... this should work:

	if (reply:Session-Timeout < 100)

> but I understand this would do a string comparison, so "2" > "100"
> 
> If you mean list qualifiers have already been implemented in 3.x, then I
> apologise for the noise.

  List qualifiers work in 2.x and in 3.x.  They're identical in that way.

  Alan DeKok.


More information about the Freeradius-Devel mailing list