Re: weird problem



-+2147483647

I think there's a patch for Giga accounting table somewhere but I'm not
sure that this is what you're looking for.

Regards,
Liran.

On 10/11/07, Kris <christian@wanxp.com> wrote:
how much are 32-bit number ?

any possible way to configure it larger than 32-bit number ?

Alan DeKok wrote:
> Kris wrote:
>
>> i`m using Mikrotik (Hotspot) + Freeradius + Mysql + perl postscript to
>> check auth , on perl script i do check quota based on radacct table. if
>> quota more than xxx Gb then you cant login.
>>
>> the problem are like this what the result of accounting different with
>> value that send to NAS. like this
>>
> ...
>
>>        Mikrotik-Xmit-Limit = _*3502655261*_ <= Above value is 7622654321
>> but it send 3502655261
>>        Mikrotik-Recv-Limit = _*2755359744*_ <= Above value is 5000000000
>> but it send 2755359744
>>
>
>   The limits are 32-bit numbers.  Don't try to put a number LARGER than
> 32 bits into a 32-bit number.  It doesn't work.
>
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
>

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



This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.