New feature in v3: cast!

Alan DeKok aland at deployingradius.com
Mon May 13 15:08:57 CEST 2013


Phil Mayers wrote:
> On 13/05/13 11:11, Brian Candler wrote:
>>     if (reply:Session-Time < 100)
> 
> I don't understand; you can do this now. Doesn't it already work?

  Yes.  But it doesn't do type-checking when the config files load.

  If you do:

	if ("%{reply:Session-Time}" < 100)

  It's harder to do tpye checking, because the LHS is a string.

  Alan DeKok.


More information about the Freeradius-Devel mailing list