rlm_perl & %RAD_REPLY issue

Boyan Jordanov bjordanov at orbitel.bg
Thu Oct 13 14:14:30 CEST 2005


On Thursday 13 October 2005 11:35, Max Lock wrote:
>  Just one more question! for some reason, simply setting the hash and
> returning RLM_MODULE_OK works fine. but I'm returning the contents of a
> variable..
>
> $RAD_REPLY{'ChilliSpot-Max-Total-Octets'} = $unused_user_octets;
>
>  however the module then returns a reject? when it shouldn't?

You don't need to return a variable just fill the hash and then return 
RLM_MODULE_OK, and then rlm_perl will take the values from hash and put them 
in radreply. 


-- 
Best Regards,
Boian Jordanov
SNE
Orbitel - Next Generation Telecom
tel. +359 2 4004 723 
tel. +359 2 4004 002




More information about the Freeradius-Users mailing list