mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-03 00:11:35 +01:00
wgengine/magicsock: clean up determineEndpoints docs (#17822)
Updates #cleanup Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
parent
fe5501a4e9
commit
e059382174
@ -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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user