tailscale/net/tsaddr
Maisem Ali 8e85227059 cmd/tailscale/cli: [set] handle selectively modifying routes/exit node
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>
2022-11-13 08:17:51 +05:00
..
tsaddr_test.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
tsaddr.go cmd/tailscale/cli: [set] handle selectively modifying routes/exit node 2022-11-13 08:17:51 +05:00