TUN-4832: Prevent tunnel from running accidentally when only proxy-dns should run
This commit is contained in:
parent
0924549efd
commit
aa24338225
|
@ -165,7 +165,7 @@ func TunnelCommand(c *cli.Context) error {
|
|||
|
||||
// Unauthenticated named tunnel on <random>.<quick-tunnels-service>.com
|
||||
// For now, default to legacy setup unless quick-service is specified
|
||||
if c.String("hostname") == "" && c.String("quick-service") != "" {
|
||||
if !dnsProxyStandAlone(c, nil) && c.String("hostname") == "" && c.String("quick-service") != "" {
|
||||
return RunQuickTunnel(sc)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue