mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-21 06:01:42 +00:00
cmd/tailscale: warn if app-connector is enabled without ip forwarding
Fixes: ENG-2446 Signed-off-by: Tom DNetto <tom@tailscale.com>
This commit is contained in:
parent
1825d2337b
commit
90a0aafdca
@ -442,7 +442,7 @@ func runUp(ctx context.Context, cmd string, args []string, upArgs upArgsT) (retE
|
|||||||
fatalf("%s", err)
|
fatalf("%s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(prefs.AdvertiseRoutes) > 0 {
|
if len(prefs.AdvertiseRoutes) > 0 || prefs.AppConnector.Advertise {
|
||||||
// TODO(jwhited): compress CheckIPForwarding and CheckUDPGROForwarding
|
// TODO(jwhited): compress CheckIPForwarding and CheckUDPGROForwarding
|
||||||
// into a single HTTP req.
|
// into a single HTTP req.
|
||||||
if err := localClient.CheckIPForwarding(ctx); err != nil {
|
if err := localClient.CheckIPForwarding(ctx); err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user