confused with unlang
Wayne Lee
linkconnect at googlemail.com
Wed Oct 20 19:07:35 CEST 2010
> You're doing "greater than or equal" checks on a string?
I was due to my lack of understanding, using the regex now and it's
working much better.
> It's always better *not* add attributes, rather than adding them and
> later deleting them.
>
>> The provider is sending "foo" or "bar" (depends on the LTS) and a ID
>> number in the calling-station-id which is why I used ">=".
>
> Regexes are better at string matches than numerical comparison operators.
Understood, again lack of understanding on my part.
> Use regexes. Run the server in debugging mode to see what is being
> matched, and why.
Was running in debug anyways but knew the problem was due to my
understanding of code/regex.
Thanks for the clue stick. All is now running fine.
Wayne
More information about the Freeradius-Users
mailing list