Question about unlang functionality

Alan DeKok aland at deployingradius.com
Sun Jan 27 08:11:19 CET 2008


Markus Moeller wrote:
> I have a internal check Attribute My-Test defined as string. I have the
> following in authorize
..
>        switch control:My-Test {

  The switch statement should use double quotes: "%{control:My-Test}"

>                case {
...

  Which will always be taken, because the string above wasn't expanded

>                       update reply {
>                                Reply-Message = " Accepted "

  Which will not over-write the previous Reply-Message, because you used
"=", and not ":=".

  Alan DeKok.



More information about the Freeradius-Users mailing list