Matching a prefix in huntgroups file

Phil Mayers p.mayers at
Mon Nov 7 17:38:01 CET 2016

On 07/11/16 16:03, Alan DeKok wrote:

> if (&NAS-IP-Address < {
> Which checks that the IP is "within" the network.  ASCII doesn't have
> a "set contains" character, so "<" is the best we can do.

FWIW, Postgres uses "<<" for "is contained within" or "<<=" for 
"contained within or equals" and conversely for >> and >>=. Newer 
versions have && for "contains or contained by".

More information about the Freeradius-Users mailing list