wgengine/magicsock: fix sendUDPStd docs (#13490)

Updates #cleanup

Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
Jordan Whited 2024-09-16 19:28:00 -07:00 committed by GitHub
parent 4084c6186d
commit 5f4a4c6744
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1187,7 +1187,7 @@ func (c *Conn) sendUDPNetcheck(b []byte, addr netip.AddrPort) (int, error) {
}
}
// sendUDP sends UDP packet b to addr.
// sendUDPStd sends UDP packet b to addr.
// See sendAddr's docs on the return value meanings.
func (c *Conn) sendUDPStd(addr netip.AddrPort, b []byte) (sent bool, err error) {
if c.onlyTCP443.Load() {