Change RAD_REPLY item in rlm_perl, not add a new pair

Boian Jordanov bjordanov at orbitel.bg
Tue Aug 15 14:50:35 CEST 2006


On Monday 14 August 2006 21:27, Alex French wrote:
> Boian,
>
> Thanks, if you have a patch that actually implements the hash for the
> operator etc, that would be great (in fact, why not just submit it as a
> feature). If it's just to change the operator hardcoded in rlm_perl.c,
> that's fine, I have that recompiled and installed at the moment,

Yep, i have the patch that implements the operator with hash ref. 
Test it and if you like it i will submit it in CVS HEAD.

For example to change Operator for Framed-MTU 

$hash{'Framed-MTU'} = "100";
$hash{'Operator'} = "==";
$RAD_REPLY{'Framed-MTU'} = \%hash;


-- 
Best Regards,
Boian Jordanov
SNE
Orbitel - Next Generation Telecom
tel. +359 2 4004 723
tel. +359 2 4004 002
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rlm_perl.patch
Type: text/x-diff
Size: 2345 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060815/ff6ec112/attachment.patch>


More information about the Freeradius-Users mailing list