Thanks guys i will try this and update. @Chris : you right i didnt find any documents for this. Regards Amit B. On Tue, Apr 28, 2015 at 12:29 PM, Chris Knipe <savage@savage.za.org> wrote:
when i pass single Attribute to perl script like ie. ( $RAD_CHECK{' Account-Info'} ) .i can get all the values of this variable available in the perl for processing.
but when i am trying to pass multiple variable of same name i am not getting those values pass to perl script.
You push them into a array...
push(@avpairs,'ip:dns-servers=$dns1 $dns2'); push(@avpairs,"ip:route=$$thisroute{network} $$thisroute{subnet}"); $RAD_REPLY{'Cisco-AVPair'}=\@avpairs;
Another one of those undocumented rlm_perl magic 'this is just how it works' things :-) - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html