mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-27 07:38:49 +00:00
wgengine/magicsock: fix rare shutdown race in test.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:

committed by
Dave Anderson

parent
97693f2e42
commit
fe2f89deab
@@ -3208,7 +3208,9 @@ func ippDebugString(ua netaddr.IPPort) string {
|
||||
}
|
||||
|
||||
// discoEndpoint is a wireguard/conn.Endpoint that picks the best
|
||||
// available path to communicate with a peer.
|
||||
// available path to communicate with a peer, based on network
|
||||
// conditions and what the peer supports. In particular, despite the
|
||||
// name, an endpoint can support DERP only.
|
||||
type discoEndpoint struct {
|
||||
// atomically accessed; declared first for alignment reasons
|
||||
lastRecv mono.Time
|
||||
|
Reference in New Issue
Block a user