wgengine/magicsock: add a pointer value for logging

Updates #109

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2020-03-11 15:12:19 -07:00
parent 0d3f42e1d8
commit b3ddf51a15
1 changed files with 1 additions and 1 deletions

View File

@ -779,7 +779,7 @@ func (c *Conn) runDerpReader(ctx context.Context, derpFakeAddr *net.UDPAddr, dc
return
default:
}
c.logf("derp.Recv(derp%d): %v", derpFakeAddr.Port, err)
c.logf("[%p] derp.Recv(derp%d): %v", dc, derpFakeAddr.Port, err)
time.Sleep(250 * time.Millisecond)
continue
}