ipn/ipnstate: add home DERP to tailscale status JSON

Fixes #15625

Change-Id: Ic20dad2dab4ac52c666057845bdc3cf5c0ffcd8f
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2025-04-10 09:49:46 -07:00
committed by Brad Fitzpatrick
parent 6fb5e3b0cb
commit 476a4c6ff1
2 changed files with 11 additions and 4 deletions

View File

@@ -53,6 +53,9 @@ type Status struct {
// If nil, an exit node is not in use.
ExitNodeStatus *ExitNodeStatus `json:"ExitNodeStatus,omitempty"`
// DERPHomeRegionID is the current home DERP region ID.
DERPHomeRegionID int
// Health contains health check problems.
// Empty means everything is good. (or at least that no known
// problems are detected)