mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-24 01:31:55 +00:00
control/controlclient: fix priority of DERP server, add comment
This commit is contained in:
@@ -758,7 +758,7 @@ func (c *Conn) LinkChange() {
|
||||
// AddrSet is a set of UDP addresses that implements wireguard/device.Endpoint.
|
||||
type AddrSet struct {
|
||||
publicKey key.Public // peer public key used for DERP communication
|
||||
addrs []net.UDPAddr // ordered priority list provided by wgengine
|
||||
addrs []net.UDPAddr // ordered priority list (low to high) provided by wgengine
|
||||
|
||||
mu sync.Mutex // guards roamAddr and curAddr
|
||||
|
||||
|
||||
Reference in New Issue
Block a user