This commit is contained in:
Zoltan Papp 2024-12-19 14:01:52 +01:00
parent 9ff03141ba
commit 0ab0b834eb

View File

@ -154,6 +154,10 @@ func (p *ConnProfiler) checkHandshakes() {
if stat.LastHandshake.IsZero() {
continue
}
if stat.LastHandshake.Before(time.Now().Add(-100 * time.Hour)) {
continue
}
profile.WireGuardConnected = stat.LastHandshake
}
p.profilesMu.Unlock()