28 Apr
2015
28 Apr
'15
2:59 a.m.
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 :-)