mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 11:05:45 +00:00
wgengine/magicsock: fix sendUDPStd docs (#13490)
Updates #cleanup Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
parent
4084c6186d
commit
5f4a4c6744
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user