Change RAD_REPLY item in rlm_perl, not add a new pair

Kenneth Marshall ktm at is.rice.edu
Thu Jun 22 15:03:06 CEST 2006


On Thu, Jun 22, 2006 at 09:58:54AM +0300, Boian Jordanov wrote:
> Maybe passing a HASH ref for hash which contains the Operator key and the vp 
> item too will be a good idea. For example
> 
> $hash{'Tunnel-Id'} = "visitor";
> $hash{'Operator'} = ":=";
> $RAD_REPLY{'Tunnel-Id'} = \%hash;
>   
> This way we will not change existing behavior. 
> 
I like this. One key feature missing in rlm_perl was the ability
to substitute values in attribute pairs, not just add a new one.

Ken



More information about the Freeradius-Users mailing list