mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-12 00:11:46 +00:00

Noticed this while debugging something else, we would reset all routes if either `--advertise-exit-node` or `--advertise-routes` were set. This handles correctly updating them. Also added tests. Signed-off-by: Maisem Ali <maisem@tailscale.com>