Unlang and !*

Alan DeKok aland at deployingradius.com
Sun Mar 20 08:19:40 CET 2011

Brian Candler wrote:
> Just a minor point: unlang accepts the syntax
>     if (Foo !* "any") {
>         ...
>     }
> but it doesn't behave in the same way as !* in a 'users' file.


> But I think it would be better if it rejected them outright as a syntax
> error if you tried to use them.  It has caused some local confusion
> recently.

  Generating a syntax error is problematic, as the parsing is done at
run time.  I can go poke it so that the complaints about an unsupported
operator are more visible in debugging mode.

  Alan DeKok.

More information about the Freeradius-Devel mailing list