When a device is unregistered and re-registered, the total sent bytes/messages counters are set to 0. This causes an inconsistency with bytes sent on interfaces. Fix this by not resetting counters. Fix #776.
Code is duplicated in queries.ex because string-based querying does not allow for much extensibility.
When a device is unregistered and re-registered, the total sent bytes/messages counters are set to 0. This causes an inconsistency with bytes sent on interfaces. Fix this by not resetting counters. Fix #776.
Code is duplicated in
queries.ex
because string-based querying does not allow for much extensibility.