From e960e20bb389eac3ab6b601717db437a91780ffd Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Mon, 19 Mar 2012 09:56:36 +0100 Subject: [PATCH] Fixed frame loss statistics. --- master/master.c | 1 + 1 file changed, 1 insertion(+) diff --git a/master/master.c b/master/master.c index c677710d..80de0664 100644 --- a/master/master.c +++ b/master/master.c @@ -1264,6 +1264,7 @@ void ec_master_update_device_stats( 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]);