
James TuckerandJames Tucker
ca4c940a4d
ipn: introduce app connector advertisement preference and flags
Introduce a preference structure to store the setting for app connector
advertisement.
Introduce the associated flags:
tailscale up --advertise-connector{=true,=false}
tailscale set --advertise-connector{=true,=false}
```
% tailscale set --advertise-connector=false
% tailscale debug prefs | jq .AppConnector.Advertise
false
% tailscale set --advertise-connector=true
% tailscale debug prefs | jq .AppConnector.Advertise
true
% tailscale up --advertise-connector=false
% tailscale debug prefs | jq .AppConnector.Advertise
false
% tailscale up --advertise-connector=true
% tailscale debug prefs | jq .AppConnector.Advertise
true
```
Updates tailscale/corp#15437
Signed-off-by: James Tucker <james@tailscale.com>
2023-11-01 10:58:54 -07:00
..
2023-11-01 10:58:54 -07:00
2023-10-26 09:43:19 -06:00
2023-03-01 15:45:12 -07:00
2022-11-21 18:15:51 -05:00
2022-11-21 18:15:51 -05:00
2022-11-21 18:15:51 -05:00
2023-10-11 14:25:58 -07:00
2023-01-27 15:36:29 -08:00
2022-11-21 18:15:51 -05:00