"Chris Knipe" <[EMAIL PROTECTED]> wrote:
So basically:
        $RAD_REPLY{'Recv-Limit'} = $BytesAvail - $BytesUsed;
        $RAD_REPLY{'Xmit-Limit'} = $BytesAvail - $BytesUsed;
doesn't work
        $RAD_REPLY{'Recv-Limit'} = 23423424;
        $RAD_REPLY{'Xmit-Limit'} = 23234242;
works

Hmm... that looks like rlm_perl isn't looking in the right place for the values of the perl variables. Not that I know anything about Perl....

Strange as well, is that format_bytes successfully completes the formating
and the calculation. Thus, there is also nothing wrong in my code.

Perl keeps values for variables in multiple formats. If rlm_perl isn't looking in the right place, that may be the problem.


Ok... I'll try and force $BytesAvail / $BytesUsed to a integer value (I am doubting that a little bit), but other than that.... Do I leave this in the hands of the FR developers (i.e. bug)???

--
Chris.


- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to