[EMAIL PROTECTED] said
> If [ NAS-IP-Address =~ 192.168.48.* ]
>   Calling-Station-Id = Dev
> else
>    if [ NAS-IP-Address =~ 192.168.49.* ]
>        Calling-station-id = Prod
>    else
>        Calling-station-id = Any
>    fi
> fi

You might try:

DEFAULT NAS-IP-Address =~ "^192\.168\.48\."
        Calling-Station-Id := Dev
        Fall-Through = 1

DEFAULT NAS-IP-Address =~ "^192\.168\.48\."
        Calling-Station-Id := Prod
        Fall-Through = 1

DEFAULT NAS-IP-Address !~ "^(192\.168\.48\.|192\.168\.49\.)"
        Calling-Station-Id := Any
        Fall-Through = 1

   -- hugh


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

Reply via email to