cmd/tailscale/cli,ipn/ipnlocal,wgengine/magicsock: implement tailscale debug peer-relay-servers (#16577)

Updates tailscale/corp#30036

Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
Jordan Whited
2025-07-16 10:03:05 -07:00
committed by GitHub
parent 67514f5eb2
commit 3c6d17e6f1
6 changed files with 71 additions and 0 deletions

View File

@@ -6956,6 +6956,10 @@ func (b *LocalBackend) DebugReSTUN() error {
return nil
}
func (b *LocalBackend) DebugPeerRelayServers() set.Set[netip.AddrPort] {
return b.MagicConn().PeerRelays()
}
// ControlKnobs returns the node's control knobs.
func (b *LocalBackend) ControlKnobs() *controlknobs.Knobs {
return b.sys.ControlKnobs()