tailscale/tailcfg
Simon Law 729d6532ff
tailcfg: add Hostinfo.ExitNodeID to report the selected exit node (#16625)
When a client selects a particular exit node, Control may use that as
a signal for deciding other routes.

This patch causes the client to report whenever the current exit node
changes, through tailcfg.Hostinfo.ExitNodeID. It relies on a properly
set ipn.Prefs.ExitNodeID, which should already be resolved by
`tailscale set`.

Updates tailscale/corp#30536

Signed-off-by: Simon Law <sfllaw@tailscale.com>
2025-07-22 13:54:28 -07:00
..
c2ntypes.go ipn/ipnlocal: add VIPServices hash to return body of vip-services c2n endpoint 2025-01-10 15:49:59 -05:00
derpmap.go tailcfg: add DERPRegion.NoMeasureNoHome, deprecate+document Avoid [cap 115] 2025-03-07 23:15:38 -07:00
proto_port_range_test.go tailcfg: implement text encoding for ProtoPortRange 2023-10-11 23:59:42 -07:00
proto_port_range.go tailcfg: implement text encoding for ProtoPortRange 2023-10-11 23:59:42 -07:00
tailcfg_clone.go tailcfg: add Hostinfo.ExitNodeID to report the selected exit node (#16625) 2025-07-22 13:54:28 -07:00
tailcfg_test.go tailcfg: add Hostinfo.ExitNodeID to report the selected exit node (#16625) 2025-07-22 13:54:28 -07:00
tailcfg_view.go tailcfg: add Hostinfo.ExitNodeID to report the selected exit node (#16625) 2025-07-22 13:54:28 -07:00
tailcfg.go tailcfg: add Hostinfo.ExitNodeID to report the selected exit node (#16625) 2025-07-22 13:54:28 -07:00
tka.go tailcfg: add RPC structs for /tka/affected-sigs 2023-02-21 21:58:38 +00:00