unlang question

Alan DeKok aland at deployingradius.com
Fri Mar 20 16:33:42 CET 2009


Bruce_M_Richardson at biscuits.com wrote:
>                 if("%{request:Stripped-User-Name}" !~
>                         /visitor[0-9]?[0-9]/i) {
>                                  reject
>                                 }
> 
> and got this ...
> 
> /usr/local/etc/raddb/sites-enabled/all[156]: Parse error in condition
> at: "%{request:Stripped-User-Name}" !~
> 
> any ideas ?

$ man unlang

  Everything following the "if" statement MUST be all on one line of text.

  Alan DeKok.



More information about the Freeradius-Users mailing list