unlang Question about evaluating unavailable attributes to FALSE
Alan DeKok
aland at deployingradius.com
Tue May 17 12:49:02 CEST 2011
Stefan A. wrote:
> if I'm using an expression like
>
> if (control:VSA1=~/something/ || control:VSA2 =~/something_else/)
> {...}
>
> I do get the information "(Attribute control:VSA1 was not found)" in case
> the VSA is not in the control context.
> As the condition is '||', I would expect, that FR tries the next option, but
> it does not. It sets the hole Expression to FALSE.
I think that's fixed in the v2.1.x branch in git. The fix will be in
2.1.11.
Alan DeKok.
More information about the Freeradius-Users
mailing list