wgengine/magicsock: document mysterious-looking assignment

Updates #cleanup

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson 2023-07-26 14:39:52 -07:00 committed by Dave Anderson
parent 84777354a0
commit 9d89e85db7

View File

@ -1952,6 +1952,8 @@ type connBind struct {
closed bool
}
// This is a compile-time assertion that connBind implements the wireguard-go
// conn.Bind interface.
var _ conn.Bind = (*connBind)(nil)
// BatchSize returns the number of buffers expected to be passed to