Fixed frame loss statistics. redundancy
authorFlorian Pose <fp@igh-essen.com>
Mon, 19 Mar 2012 09:56:36 +0100
branchredundancy
changeset 2371 a5052376202b
parent 2370 18e1e8b30ff7
child 2372 d895cd1db2bf
Fixed frame loss statistics.
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]);