mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-23 00:56:20 +00:00
wgengine/magicsock: clean up determineEndpoints docs (#17822)
Updates #cleanup Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
@@ -1243,8 +1243,8 @@ func (c *Conn) DiscoPublicKey() key.DiscoPublic {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// determineEndpoints returns the machine's endpoint addresses. It does a STUN
|
// determineEndpoints returns the machine's endpoint addresses. It does a STUN
|
||||||
// lookup (via netcheck) to determine its public address. Additionally any
|
// lookup (via netcheck) to determine its public address. Additionally, any
|
||||||
// static enpoints provided by user are always added to the returned endpoints
|
// static endpoints provided by user are always added to the returned endpoints
|
||||||
// without validating if the node can be reached via those endpoints.
|
// without validating if the node can be reached via those endpoints.
|
||||||
//
|
//
|
||||||
// c.mu must NOT be held.
|
// c.mu must NOT be held.
|
||||||
|
|||||||
Reference in New Issue
Block a user