From 2076a5086225b5366c97f96143745709e36c1da2 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 13 Oct 2020 12:00:58 -0700 Subject: [PATCH] wgengine/magicsock: finish a comment sentence that ended prematurely --- wgengine/magicsock/magicsock.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wgengine/magicsock/magicsock.go b/wgengine/magicsock/magicsock.go index 12ba7b880..568334183 100644 --- a/wgengine/magicsock/magicsock.go +++ b/wgengine/magicsock/magicsock.go @@ -306,10 +306,10 @@ type Options struct { // sole user just doesn't need or want it called on every // packet, just every minute or two for Wireguard timeouts, // and 10 seconds seems like a good trade-off between often - // enough and not too often.) The provided func is called while - // holding userspaceEngine.wgLock and likely calls - // Conn.CreateEndpoint, which acquires Conn.mu. As such, you should - // not hold + // enough and not too often.) The provided func is called + // while holding userspaceEngine.wgLock and likely calls + // Conn.CreateEndpoint, which acquires Conn.mu. As such, you + // should not hold Conn.mu while calling it. NoteRecvActivity func(tailcfg.DiscoKey) }