Alan,

It works as I want it.

Thanks!

-Mike

On Wed, 28 Jan 2004, Alan DeKok wrote:

> Mike Sturdee <[EMAIL PROTECTED]> wrote:
> > I am doing:
> >
> > # match number ending in 123
> > DEFAULT Called-Station-Id =~ "^.*123$"
>
>   You don't need the ^.* piece.
>
> >        Realm = "realm1"
> >
> > # otherwise make it realm2
> > DEFAULT
> >         Realm = "realm2"
> >
> > And _ALL_ are being assigned "realm1"
>
>   Cute.
>
>   On closer inspection of the source, the "hints" file does little
> other than prefix and suffix comparisons.  Hmm... it shouldn't be too
> hard to change that.  It will probably even be less code.
>
>   See:  http://www.striker.ottawa.on.ca/~aland/rlm_preprocess.c
>
>   It contains changes which shouldn't break the old functionality, but
> should also add the functionality you want (and which makes sense)
>
>   If it works and doesn't change the way it processes old hints files,
> mail the list, and I'll commit the changes.
>
>   Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>

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

Reply via email to