Fix network bandwidth rate calculation for early updates

This commit is contained in:
Stefan Gründel
2026-03-21 13:17:06 +01:00
parent ab7bfdb297
commit c0c1a4223a
2 changed files with 26 additions and 18 deletions

View File

@@ -70,6 +70,7 @@ class Network : public ALabel {
unsigned long long bandwidth_down_total_{0};
unsigned long long bandwidth_up_total_{0};
std::chrono::steady_clock::time_point bandwidth_last_sample_time_;
std::string state_;
std::string essid_;