Reject Calling-Station-Id

Neville nev at itsnev.co.uk
Wed Jan 6 00:20:49 CET 2010


> From: Arran Cudbard-Bell <arran.cudbard-bell at hp.com>
> Subject: Re: Reject Calling-Station-Id

>> if (Calling-Station-Id == "%{sql: SELECT mac FROM `lrc_banlist` WHERE 
>> mac='%{Calling-Station-Id}'}") {
>>
>>
>>         update reply {
>>                     Reply-Message = "Hello Hello Hello"
>>            }
>> reject
>>      }
>>
>> Read Uncle Alan has replied this.
> 
> To save the followup exchange:
> 
>         update reply {
>                     Reply-Message := "Hello Hello Hello"
>            }
> 
> Uncle Alan?...
> 
> -Arran

Spot on Arran, thanks so much.

Nev



More information about the Freeradius-Users mailing list