summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJordan Whited <jordan@tailscale.com>2025-05-07 09:30:33 -0700
committerJordan Whited <jordan@tailscale.com>2025-05-07 09:30:33 -0700
commit1e2e2d27c675ba6bc45bef42e8a2ea998dee2009 (patch)
treef760b316435e2b10ca7e75231abf43eaa07dc490
parent06cc075ed9ecff7a04b2e606fd287fd7bbac936b (diff)
downloadtailscale-jwhited/ep-relay-capable.tar.xz
tailscale-jwhited/ep-relay-capable.zip
fixup! wgengine/magicsock: hook relay server alloc into path discoveryjwhited/ep-relay-capable
-rw-r--r--wgengine/magicsock/relaymanager.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/wgengine/magicsock/relaymanager.go b/wgengine/magicsock/relaymanager.go
index 9f1fbbceb..779be75dd 100644
--- a/wgengine/magicsock/relaymanager.go
+++ b/wgengine/magicsock/relaymanager.go
@@ -51,6 +51,7 @@ func (r *relayManager) initLocked() {
}
r.discoInfoByServerDisco = make(map[key.DiscoPublic]*discoInfo)
r.serversByAddrPort = make(map[netip.AddrPort]key.DiscoPublic)
+ r.relaySetupWorkByEndpoint = make(map[*endpoint]*relaySetupWork)
}
// discoInfo returns a [*discoInfo] for 'serverDisco' if there is an