32bit Integers in rlm_sqlcounter

Alan DeKok aland at deployingradius.com
Thu Mar 19 10:28:05 CET 2009


Graham Beneke wrote:
> Is there a specific requirement for rlm_sqlcounter to be using 32bit
> integers internally?

  Nope.

> I know that the attribute pair returned must be an integer. I am however
> having a problem in using sqlcounter for octet counting where the sum of
> radacct values and the check_value are both more than 32bit integers
> while the difference is much smaller.
> 
> Should I submit a patch?

  Sure.  Or, use github, clone the repository, and submit a git change
request.

  Alan DeKok.



More information about the Freeradius-Devel mailing list