Files
tailscale/ipn/ipnlocal
Jonathan Nobels f41a2a9661 ipn/local: add the suggested exit node to the ipn bus
fixes tailscale/corp#26369

The suggested exit node is currently only calculated during a localAPI request.
For older UIs, this wasn't a bad choice - we could just fetch it on-demand when a menu
presented itself.  For newer incarnations however, this is an always-visible field
that needs to react to changes in the suggested exit node's value.

This change recalculates the suggested exit node ID on netmap updates and
broadcasts it on the IPN bus.   The localAPI version of this remains intact for the
time being.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
2025-08-13 11:10:17 -04:00
..
2025-06-17 17:53:22 -07:00