32bit Integers in rlm_sqlcounter
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@apolix.co.za Skype: grbeneke VoIP: 087-750-5696 Cell: 082-432-1873 http://www.apolix.co.za/
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.
participants (2)
-
Alan DeKok -
Graham Beneke