On 26/12/2009 08:05, Alex M wrote:
> Ok I still having trouble with this. Here is my code:
>
> ========================================================================================
> if (Calling-Station-Id == "%{sql: SELECT mac FROM `lrc_banlist`
> WHERE mac='%{Calling-Station-Id}'}") {
> reject
>
> update reply {
> Reply-Message = "Hello Hello Hello"
> }
>
> }
Wrong operator.
You want := to overwrite the attribute value that already exists...
update reply {
Reply-Message := "Hello Hello Hello"
}
signature.asc
Description: OpenPGP digital signature
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

