From 5f4a4c6744fbda767d5bf4b3299a16aea80c4d1c Mon Sep 17 00:00:00 2001 From: Jordan Whited Date: Mon, 16 Sep 2024 19:28:00 -0700 Subject: [PATCH] wgengine/magicsock: fix sendUDPStd docs (#13490) Updates #cleanup Signed-off-by: Jordan Whited --- wgengine/magicsock/magicsock.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgengine/magicsock/magicsock.go b/wgengine/magicsock/magicsock.go index 190a4ad39..5b3207af5 100644 --- a/wgengine/magicsock/magicsock.go +++ b/wgengine/magicsock/magicsock.go @@ -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() {