mirror of
https://github.com/tailscale/tailscale.git
synced 2025-06-09 09:18:36 +00:00
ipn: set RouteAll=true by default for new accounts on iOS and Android (#16110)
fixes tailscale/tailscale#16082 RouteAll should be true by default on iOS and Android. Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
This commit is contained in:
parent
4b59f1dfe6
commit
842df37803
@ -721,9 +721,10 @@ func (p *Prefs) ControlURLOrDefault() string {
|
|||||||
// of the platform it's running on.
|
// of the platform it's running on.
|
||||||
func (p *Prefs) DefaultRouteAll(goos string) bool {
|
func (p *Prefs) DefaultRouteAll(goos string) bool {
|
||||||
switch goos {
|
switch goos {
|
||||||
case "windows":
|
case "windows", "android", "ios":
|
||||||
return true
|
return true
|
||||||
case "darwin":
|
case "darwin":
|
||||||
|
// Only true for macAppStore and macsys, false for darwin tailscaled.
|
||||||
return version.IsSandboxedMacOS()
|
return version.IsSandboxedMacOS()
|
||||||
default:
|
default:
|
||||||
return false
|
return false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user