# HG changeset patch # User Florian Pose # Date 1332147396 -3600 # Node ID a5052376202b8c38ea60061a2aaf5a23aa47fda3 # Parent 18e1e8b30ff764e49e13434a9bdb2eb39ba24de1 Fixed frame loss statistics. diff -r 18e1e8b30ff7 -r a5052376202b master/master.c --- a/master/master.c Sat Mar 17 09:06:58 2012 +0100 +++ b/master/master.c Mon Mar 19 09:56:36 2012 +0100 @@ -1264,6 +1264,7 @@ s->last_rx_count = s->rx_count; s->last_tx_bytes = s->tx_bytes; s->last_rx_bytes = s->rx_bytes; + s->last_loss = loss; ec_device_update_stats(&master->devices[EC_DEVICE_MAIN]); ec_device_update_stats(&master->devices[EC_DEVICE_BACKUP]);