wgengine/magicsock: finish a comment sentence that ended prematurely

This commit is contained in:
Brad Fitzpatrick 2020-10-13 12:00:58 -07:00
parent 371f1a9502
commit 2076a50862
1 changed files with 4 additions and 4 deletions

View File

@ -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)
}