wgengine, magicsock, derp: misc cleanups, docs

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2020-02-18 08:57:11 -08:00
parent a23a0d9c9f
commit e06ca40650
4 changed files with 57 additions and 43 deletions

View File

@@ -36,7 +36,7 @@ func TestListen(t *testing.T) {
defer conn.Close()
go func() {
var pkt [1 << 16]byte
var pkt [64 << 10]byte
for {
_, _, _, err := conn.ReceiveIPv4(pkt[:])
if err != nil {