wgengine/magicsock: document mysterious-looking assignment

Updates #cleanup

Signed-off-by: David Anderson <danderson@tailscale.com>
pull/8728/head
David Anderson 1 year ago committed by Dave Anderson
parent 84777354a0
commit 9d89e85db7

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

Loading…
Cancel
Save