tailscale/cmd/tailscale
Brad Fitzpatrick e40e5429c2 cmd/tailscale/cli: make 'tailscale up' protect --advertise-exit-node removal
The new "tailscale up" checks previously didn't protect against
--advertise-exit-node being omitted in the case that
--advertise-routes was also provided. It wasn't done before because
there is no corresponding pref for "--advertise-exit-node"; it's a
helper flag that augments --advertise-routes. But that's an
implementation detail and we can still help users. We just have to
special case that pref and look whether the current routes include
both the v4 and v6 /0 routes.

Fixes #1767

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-04-21 21:45:30 -07:00
..
cli cmd/tailscale/cli: make 'tailscale up' protect --advertise-exit-node removal 2021-04-21 21:45:30 -07:00
depaware.txt client/tailscale/apitype: move local API types to new apitype package 2021-04-13 08:13:46 -07:00
tailscale.go cmd/tailscale: add web subcommand 2021-03-29 12:13:19 -07:00