Match newline in Cisco-AVPair[*]

Phil Mayers p.mayers at imperial.ac.uk
Thu Apr 16 13:12:35 CEST 2015


On 15/04/15 17:10, Kostas Zorbadelos wrote:
> Arran Cudbard-Bell <a.cudbardb at freeradius.org> writes:
>
> Hi,
>
>>> On 15 Apr 2015, at 15:08, Alan DeKok <aland at deployingradius.com> wrote:
>>>
>>> On Apr 15, 2015, at 9:29 AM, Kostas Zorbadelos <kzorba at otenet.gr> wrote:
>>>> I am trying to perform a match against the full Cisco-AVPair string
>>>> (Cisco-AVPair[*]) to get a specific part. The exact check I am
>>>> performing is
>>>
>>>   It would be better to loop over the Cisco-AVPairs with a "foreach", and the match the one you want.
>>
>
> the way I see it, I cannot do a "foreach" in unlang. I would need to

Yes you can. It was added in the 3.x series.


More information about the Freeradius-Users mailing list