32bit Integers in rlm_sqlcounter

Graham Beneke graham-ml at apolix.co.za
Thu Mar 19 10:16:53 CET 2009


Is there a specific requirement for rlm_sqlcounter to be using 32bit
integers internally?

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?

-- 
Graham Beneke
Apolix Internet Services
E-Mail/MSN/Jabber: graham at apolix.co.za   Skype: grbeneke
VoIP: 087-750-5696                       Cell: 082-432-1873
http://www.apolix.co.za/




More information about the Freeradius-Devel mailing list