Interim-Updates

Hugh Messenger hugh at alaweb.com
Fri Jul 13 05:06:53 CEST 2007


> There is and easier and more correct
> way to fix your problem simply by fixing the mysql query to work the same
> way the existing postgresql query does. The next version of FreeRADIUS
> will have this _bug_ fixed.

So I presume all we need to do to the 1.1.x MySQL is the "shift gigawords
left and OR it with the octets" thing ...

AcctInputOctets     = '%{Acct-Input-Gigawords:-0}'  << 32 |
'%{Acct-Input-Octets:-0}', \
AcctOutputOctets    = '%{Acct-Output-Gigawords:-0}' << 32 |
'%{Acct-Output-Octets:-0}' \

... in:

accounting_update_query
accounting_update_query_alt
accounting_stop_query
accounting_stop_query_alt

> Peter Nixon

   -- hugh





More information about the Freeradius-Users mailing list