From 221e7d77670e3df00b29d763db7863727ff86ad0 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 20 Mar 2020 13:51:07 -0700 Subject: [PATCH] wgengine/magicsock: make log message include DERP port (node) --- wgengine/magicsock/magicsock.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgengine/magicsock/magicsock.go b/wgengine/magicsock/magicsock.go index 52af63b02..1d4f13f44 100644 --- a/wgengine/magicsock/magicsock.go +++ b/wgengine/magicsock/magicsock.go @@ -685,7 +685,7 @@ func (c *Conn) derpWriteChanOfAddr(addr *net.UDPAddr) chan<- derpWriteRequest { return nil } if c.privateKey.IsZero() { - c.logf("DERP lookup of %v with no private key; ignoring", addr.IP) + c.logf("DERP lookup of %v with no private key; ignoring", addr) return nil } ad, ok := c.activeDerp[addr.Port]