wgengine/magicsock: fix typo in endpoint.sendDiscoPing() docs (#10232)

Updates #cleanup

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

@ -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 // is the desired disco message size, including all disco headers but excluding IP/UDP
// headers. // 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. // sentPing and set up the timer.
// //
// The caller should use de.discoKey as the discoKey argument. // The caller should use de.discoKey as the discoKey argument.

Loading…
Cancel
Save