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
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html