summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2022-08-31 10:52:09 +0200
committerAndrej Mihajlov <and@mullvad.net>2022-09-21 10:33:13 +0200
commit8b4a8b6d0180607de0aadf207e46865063574765 (patch)
tree7feec5c952b6cc8017f4474b6638df45f7b5c4cb
parent77be2e7cacaf01a802efa7c02b1f7371b8f33cb8 (diff)
downloadmullvadvpn-8b4a8b6d0180607de0aadf207e46865063574765.tar.xz
mullvadvpn-8b4a8b6d0180607de0aadf207e46865063574765.zip
Add log statement to register when stats is being reset
-rw-r--r--ios/PacketTunnel/TunnelMonitor/TunnelMonitor.swift1
1 files changed, 1 insertions, 0 deletions
diff --git a/ios/PacketTunnel/TunnelMonitor/TunnelMonitor.swift b/ios/PacketTunnel/TunnelMonitor/TunnelMonitor.swift
index 46780eac2b..9b8dfe2d9b 100644
--- a/ios/PacketTunnel/TunnelMonitor/TunnelMonitor.swift
+++ b/ios/PacketTunnel/TunnelMonitor/TunnelMonitor.swift
@@ -339,6 +339,7 @@ final class TunnelMonitor: PingerDelegate {
newStats.bytesSent < state.netStats.bytesSent
guard !isStatsReset else {
+ logger.debug("Stats was being reset.")
state.netStats = newStats
return
}