mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-09 08:01:31 +00:00
wgengine/magicsock: start removing endpointForDiscoKey
It's not valid to assume that a discokey is globally unique. This removes the first two of the four callers. Updates #3088 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
7817ab6b20
commit
82fa15fa3b
@@ -231,7 +231,7 @@ func (e *userspaceEngine) onOpenTimeout(flow flowtrack.Tuple) {
|
||||
e.logf("open-conn-track: timeout opening %v to node %v; online=%v, lastRecv=%v",
|
||||
flow, n.Key.ShortString(),
|
||||
online,
|
||||
e.magicConn.LastRecvActivityOfDisco(n.DiscoKey))
|
||||
e.magicConn.LastRecvActivityOfNodeKey(n.Key))
|
||||
}
|
||||
|
||||
func durFmt(t time.Time) string {
|
||||
|
Reference in New Issue
Block a user