wgengine/magicsock: log better with less spam on transition to stopped state
Required a minor test update too, which now needs a private key to get far enough to test the thing being tested.
This commit is contained in:
@ -215,8 +215,9 @@ func TestNewConn(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
defer conn.Close()
|
||||
conn.Start()
|
||||
conn.SetDERPMap(stuntest.DERPMapOf(stunAddr.String()))
|
||||
conn.SetPrivateKey(wgcfg.PrivateKey(key.NewPrivate()))
|
||||
conn.Start()
|
||||
|
||||
go func() {
|
||||
var pkt [64 << 10]byte
|
||||
|
Reference in New Issue
Block a user