wgengine/magicsock: clean up determineEndpoints docs (#17822)

Updates #cleanup

Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
Jordan Whited 2025-11-10 10:22:47 -08:00 committed by GitHub
parent fe5501a4e9
commit e059382174
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1243,8 +1243,8 @@ func (c *Conn) DiscoPublicKey() key.DiscoPublic {
}
// determineEndpoints returns the machine's endpoint addresses. It does a STUN
// lookup (via netcheck) to determine its public address. Additionally any
// static enpoints provided by user are always added to the returned endpoints
// lookup (via netcheck) to determine its public address. Additionally, any
// static endpoints provided by user are always added to the returned endpoints
// without validating if the node can be reached via those endpoints.
//
// c.mu must NOT be held.