Nils =?ISO-8859-1?Q?R=F8nhovde?= <[EMAIL PROTECTED]> wrote:
> If I have a group of NAS'es in the address-range 10.1.1.0-32, how
> should I express this in a single statement i the huntgroups file. My
> best idea is like this
> 
> test  NAS-Ip-Address =~ "^10\.1\.1\.[0-32]"

  Regular expressions are over *characters*, not *numbers*.

  Try:

test    NAS-IP-Address =~ "^10\.1\.1\.(0|1[0-9]?|2[0-9]?|3[0-2]?|[4-9])"


  You've got to specify all possible character representations.

  Alan DeKok.

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

Reply via email to