mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
Fix
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user