mirror of
https://github.com/tailscale/tailscale.git
synced 2026-05-08 21:56:48 +02:00
wgengine/magicsock: add extra logging for specific Mullvad node
Change-Id: I9ad9f669b8e8b3db42173c0c3d428207871ab8f7
This commit is contained in:
parent
9209381a1b
commit
cafdc3b303
@ -234,7 +234,14 @@ func (de *endpoint) noteRecvActivity(ipp netip.AddrPort) {
|
||||
de.bestAddr.AddrPort = ipp
|
||||
de.bestAddrAt = now
|
||||
de.trustBestAddrUntil = now.Add(5 * time.Second)
|
||||
|
||||
shouldLog := de.publicKey.ShortString() == "[TNrdH]"
|
||||
|
||||
de.mu.Unlock()
|
||||
|
||||
if shouldLog {
|
||||
de.c.logf("noteRecvActivity: got activity from node [TNrdH]: %v", ipp)
|
||||
}
|
||||
}
|
||||
|
||||
elapsed := now.Sub(de.lastRecv.LoadAtomic())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user