AVPair extraction

Alan DeKok aland at deployingradius.com
Tue Oct 20 20:09:36 CEST 2015


On Oct 19, 2015, at 6:55 PM, Alan Batie <alan at peak.org> wrote:
> 
> On 10/19/15 2:41 PM, Arran Cudbard-Bell wrote:
> 
>> }
>> elsif ("%{Foreach-Variable-0}" =~ /^nas-tx-speed=(.+)/ ) {
> 
> 
>> Note the new lines :)
> 
> Ooook, progress -
> now I get "Failed to find "foreach" in the "modules" section."

  Use v3.  "foreach" is a key word in that version.

  In v2... write a Perl program to do the re-writing.

  Alan DeKok.



More information about the Freeradius-Users mailing list