From 1af7f5b549bc0f426c91db1847bb2a52eca67f09 Mon Sep 17 00:00:00 2001 From: Jordan Whited Date: Wed, 22 Nov 2023 14:33:12 -0800 Subject: [PATCH] wgengine/magicsock: fix typo in Conn.handlePingLocked() (#10365) 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 1387f935d..35755e03d 100644 --- a/wgengine/magicsock/magicsock.go +++ b/wgengine/magicsock/magicsock.go @@ -1514,7 +1514,7 @@ func (c *Conn) handlePingLocked(dm *disco.Ping, src netip.AddrPort, di *discoInf // mappings to make p2p path discovery faster in simple // cases. Without this, disco would still work, but would be // reliant on DERP call-me-maybe to establish the disco<>node - // mapping, and on subsequent disco handlePongLocked to establish + // mapping, and on subsequent disco handlePongConnLocked to establish // the IP<>disco mapping. if nk, ok := c.unambiguousNodeKeyOfPingLocked(dm, di.discoKey, derpNodeSrc); ok { if !isDerp {