Unlang and !*
Brian Candler
B.Candler at pobox.com
Thu Mar 17 12:09:34 CET 2011
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.
=* and !* are not documented as being available as comparison operators in
unlang (only as filtering operators), and there's no particular need for
them since you can instead write
if (!Foo) {
...
}
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.
Regards,
Brian.
More information about the Freeradius-Devel
mailing list