2.0.0 documentation for radiusd.conf.

Alan Dekok aland at deployingradius.com
Thu Jun 14 17:49:37 CEST 2007


Arran Cudbard-Bell wrote:
>          expand: %{Supplicant-Flags} -> 0000000000
> ??? Evaluating "0000000000" -> FALSE
> ?? Converting !FALSE -> TRUE
> 
> A string of 0 evaluates to false ?

  It's treated as an integer.

> This is where you begin to need typed variables.

  It's not a language.  You can work around this issue by doing:

 if ("00000" != "") ...

  which will get you what you want.

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Users mailing list