Skip to content

Commit 2d9d869

Browse files
authored
wgengine/magicsock: fix debug disco printing of alloc resp disco keys (tailscale#17087)
Updates tailscale/corp#30818 Signed-off-by: Jordan Whited <jordan@tailscale.com>
1 parent 09bfee2 commit 2d9d869

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wgengine/magicsock/magicsock.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2411,11 +2411,11 @@ func (c *Conn) handleDiscoMessage(msg []byte, src epAddr, shouldBeRelayHandshake
24112411
msgType, sender.ShortString(), derpNodeSrc.ShortString())
24122412
return
24132413
} else {
2414-
c.dlogf("[v1] magicsock: disco: %v<-%v (%v, %v) got %s, for %d<->%d",
2414+
c.dlogf("[v1] magicsock: disco: %v<-%v (%v, %v) got %s for %v<->%v",
24152415
c.discoShort, epDisco.short,
24162416
ep.publicKey.ShortString(), derpStr(src.String()),
24172417
msgType,
2418-
req.ClientDisco[0], req.ClientDisco[1])
2418+
req.ClientDisco[0].ShortString(), req.ClientDisco[1].ShortString())
24192419
}
24202420

24212421
if c.filt == nil {

0 commit comments

Comments
 (0)