fix network interface speed calc bug
This commit is contained in:
parent
2c51271143
commit
c83ae6657c
|
@ -138,7 +138,7 @@ def load_nodewatcher_xml(mac, xml):
|
|||
netif_update = next(filter(lambda n: n["name"] == netif["name"], router_update["netifs"]))
|
||||
netif_update["traffic"]["rx"] = netif["traffic"]["rx"]
|
||||
netif_update["traffic"]["tx"] = netif["traffic"]["tx"]
|
||||
except KeyError:
|
||||
except (KeyError, StopIteration):
|
||||
pass
|
||||
|
||||
# calculate RRD statistics (rrdcache?)
|
||||
|
|
Loading…
Reference in New Issue