wgengine/magicsock: fix typo in Conn.handlePingLocked() (#10365)

Updates #cleanup

Signed-off-by: Jordan Whited <jordan@tailscale.com>
pull/10367/head
Jordan Whited 1 year ago committed by GitHub
parent 5aa7687b21
commit 1af7f5b549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 // mappings to make p2p path discovery faster in simple
// cases. Without this, disco would still work, but would be // cases. Without this, disco would still work, but would be
// reliant on DERP call-me-maybe to establish the disco<>node // 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. // the IP<>disco mapping.
if nk, ok := c.unambiguousNodeKeyOfPingLocked(dm, di.discoKey, derpNodeSrc); ok { if nk, ok := c.unambiguousNodeKeyOfPingLocked(dm, di.discoKey, derpNodeSrc); ok {
if !isDerp { if !isDerp {

Loading…
Cancel
Save