mirror of
https://github.com/tailscale/tailscale.git
synced 2025-09-21 21:51:21 +02:00
wgengine/magicsock: log the peer failing disco writes are intended for
Updates tailscale/corp#31762 Signed-off-by: James Tucker <james@tailscale.com>
This commit is contained in:
parent
23297da10d
commit
a29545e9cc
@ -2026,7 +2026,7 @@ func (c *Conn) sendDiscoMessage(dst epAddr, dstKey key.NodePublic, dstDisco key.
|
|||||||
// Can't send. (e.g. no IPv6 locally)
|
// Can't send. (e.g. no IPv6 locally)
|
||||||
} else {
|
} else {
|
||||||
if !c.networkDown() && pmtuShouldLogDiscoTxErr(m, err) {
|
if !c.networkDown() && pmtuShouldLogDiscoTxErr(m, err) {
|
||||||
c.logf("magicsock: disco: failed to send %v to %v: %v", disco.MessageSummary(m), dst, err)
|
c.logf("magicsock: disco: failed to send %v to %v %s: %v", disco.MessageSummary(m), dst, dstKey.ShortString(), err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return sent, err
|
return sent, err
|
||||||
|
Loading…
x
Reference in New Issue
Block a user