11 Jan
2008
11 Jan
'08
7:40 a.m.
Keith Dovale wrote:
Is there a limitation with the SQLCounter routine using a value above 2,148,000,000 in the checkfield ? As if I set this value to anything below this figure the routine works as planned however if I go above this value it rejects the user as no available time.
The counters are 32 bits, so that is likely the source of the limitation.
I am trying to use the sqlcounter to check to see if the user has available bandwidth and if so give them access, but this now limits me to this value. I am using the freeradius port for cygwin, can anyone help me out with this as I need to set this figure to above 30Mb value
30Mb should work. If you need 64-bit counters, the code will have to be modified. Alan DeKok.