From c99488ea19e39e5488f581b1b01194679816ea6c Mon Sep 17 00:00:00 2001 From: Jordan Whited Date: Mon, 13 Nov 2023 13:56:26 -0800 Subject: [PATCH] wgengine/magicsock: fix typo in endpoint.sendDiscoPing() docs (#10232) Updates #cleanup Signed-off-by: Jordan Whited --- wgengine/magicsock/endpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgengine/magicsock/endpoint.go b/wgengine/magicsock/endpoint.go index 9d052c59e..4e9e91a38 100644 --- a/wgengine/magicsock/endpoint.go +++ b/wgengine/magicsock/endpoint.go @@ -636,7 +636,7 @@ const discoPingSize = len(disco.Magic) + key.DiscoPublicRawLen + disco.NonceLen // is the desired disco message size, including all disco headers but excluding IP/UDP // headers. // -// The caller (startPingLocked) should've already recorded the ping in +// The caller (startDiscoPingLocked) should've already recorded the ping in // sentPing and set up the timer. // // The caller should use de.discoKey as the discoKey argument.