unlang question

tnt at kalik.net tnt at kalik.net
Fri Mar 20 16:04:40 CET 2009


>> if(("%{request:Service-Type}" == 'whatever') &&
>> ("%{request:Stripped-User-Name}" !~
>> /visitor[0-9]?[0-9]/i)) {
>>                reject
>> }
>
># Just the Visitors please !!
>                if("%{request:Stripped-User-Name}" !~
>/visitor[0-9]?[0-9]/i) {reject}

Don't open and close brackets on the same line. Have a look at Arran's
statement.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list