On Tue, Apr 14, 2015 at 04:12:52PM +0200, Peter Balsianok wrote:
I have configuration file (huntgroup):
LNS NAS-IP-Address =~ /^213\.151\.231\./ LNS NAS-IP-Address =~ /^213\.151\.232\./ LNS NAS-IP-Address == 213.151.235.230
Why freeradius does not set Huntgroup-Name to LNS (based on first regexp if NAS-IP-Address=213.151.231.112) ?
regexps in huntgroups are iffy at best, ISTR.
If i use LNS NAS-IP-Address == 213.151.231.112, freeradius sets Huntgroup-Name correct.
Try without the /.../ around the regexp, e.g. LNS NAS-IP-Address =~ ^213\.151\.231\. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>