wgengine/magicsock: finish a comment sentence that ended prematurely
parent
371f1a9502
commit
2076a50862
|
@ -306,10 +306,10 @@ type Options struct {
|
||||||
// sole user just doesn't need or want it called on every
|
// sole user just doesn't need or want it called on every
|
||||||
// packet, just every minute or two for Wireguard timeouts,
|
// packet, just every minute or two for Wireguard timeouts,
|
||||||
// and 10 seconds seems like a good trade-off between often
|
// and 10 seconds seems like a good trade-off between often
|
||||||
// enough and not too often.) The provided func is called while
|
// enough and not too often.) The provided func is called
|
||||||
// holding userspaceEngine.wgLock and likely calls
|
// while holding userspaceEngine.wgLock and likely calls
|
||||||
// Conn.CreateEndpoint, which acquires Conn.mu. As such, you should
|
// Conn.CreateEndpoint, which acquires Conn.mu. As such, you
|
||||||
// not hold
|
// should not hold Conn.mu while calling it.
|
||||||
NoteRecvActivity func(tailcfg.DiscoKey)
|
NoteRecvActivity func(tailcfg.DiscoKey)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue