12 Jul
2007
12 Jul
'07
11:06 p.m.
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