rlm_perl and returning > 1 attribute with same name

Johan Meiring jmeiring at pcservices.co.za
Mon Feb 20 10:12:18 CET 2012


On 2012/02/17 02:38 PM, Mike wrote:
> Hello,
>
> I am using rlm_perl and I have an application where I would like to return
> possibly more than 1 Filter-Id in my response.
>
> In perl, the relevent code would be this:
>
> $RAD_REPLY{'Filter-Id'} = "some_filter"
>
> Unfortunately, this also will only create 1 avpair by the name 'Filter-Id'.
>
> How would I go about returning more than 1 or am I stuck because of perl?
>


I have an array with my Framed-Routes
I then do the following:

$RAD_REPLY{'Framed-Route'} = \@framedroutearray;

-- 


Johan Meiring
Cape PC Services CC
Tel: (021) 883-8271
Fax: (021) 886-7782

--------------------
Before acting on this email or opening any attachments
you should read Cape PC Service's email disclaimer at:

http://www.pcservices.co.za/disclaimer.html




More information about the Freeradius-Users mailing list