Does this mean it is treated differently in an if condition where I don't
need the quotes ? Couldn't the switch statement treat the word the same way
as the if statement treats the left hand side word and the case word like
the right hand side of an if statement ?
Thank you
Markus
"Alan DeKok" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
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.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html