Fix stats error.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Mark Nellemann 2023-06-23 21:48:01 +02:00
parent 377e9ac66e
commit 1ee63f7752

View file

@ -27,6 +27,8 @@ public class Statistics {
packesPerSec = packetsTransferred; packesPerSec = packetsTransferred;
timestamp1 = timestamp2; timestamp1 = timestamp2;
print(); print();
bytesTransferred = 0;
packetsTransferred = 0;
} }
} }