mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-08 23:49:56 +00:00
wgengine/magicsock: fix typo in endpoint.sendDiscoPing() docs (#10232)
Updates #cleanup Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user