>I can do like this:
>
>         if (!reply:ChilliSpot-Max-Total-Octets) {
>             update reply {
>                 Reply-Message := "Traffic limit exceeded."
>             }
>         }
>
>but if user enter wrong password "Traffic limit exceeded." error message
>will be displayed.
>

I had a look at the code and sqlcounter module sets the Reply-Message:
"Your maximum %s usage time has been reached" when user is rejected.
Check for that reply message and alter it.

Ivan Kalik
Kalik Informatika ISP

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to