mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-01 22:12:31 +00:00
wgengine/magicsock: fix typo in comment
Change-Id: I53fdc085ecb2c9123b21429b3d2ae80a06f22df2 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
261776e2e4
commit
5b781a70e8
@ -3019,7 +3019,7 @@ func (c *Conn) DebugForcePreferDERP(n int) {
|
|||||||
// logging an error if it occurs.
|
// logging an error if it occurs.
|
||||||
func portableTrySetSocketBuffer(pconn nettype.PacketConn, logf logger.Logf) {
|
func portableTrySetSocketBuffer(pconn nettype.PacketConn, logf logger.Logf) {
|
||||||
if runtime.GOOS == "plan9" {
|
if runtime.GOOS == "plan9" {
|
||||||
// Not supportd. Don't try. Avoid logspam.
|
// Not supported. Don't try. Avoid logspam.
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if c, ok := pconn.(*net.UDPConn); ok {
|
if c, ok := pconn.(*net.UDPConn); ok {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user