Accounting Bug

Jouni Malinen jkmaline
Sun Jul 25 20:59:44 PDT 2004

On Tue, Jul 20, 2004 at 02:03:09PM +0200, Gunter Burchardt wrote:

> Ok it was my fault. The 4GB-Patch didn't work correctly if a client
> reconnect. If the station data in driver is deleted but in hostapd not
> it can happen that the data from driver is greater than the data in
> hostapd that causes gigawords++. We have to clear last_rx_bytes,
> last_tx_bytes, acct_input_gigawords and acct_output_gigawords on
> accounting start.

Thanks, I changed accounting_sta_start() to clear these fields. I
haven't tested this, but this looks ok.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list