mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-28 12:59:57 +00:00
TUN-7097: Fix bug checking proxy-dns config on tunnel cmd execution
This commit is contained in:
@@ -195,7 +195,7 @@ func TunnelCommand(c *cli.Context) error {
|
|||||||
return runClassicTunnel(sc)
|
return runClassicTunnel(sc)
|
||||||
}
|
}
|
||||||
|
|
||||||
if c.String("proxy-dns") != "" {
|
if c.IsSet("proxy-dns") {
|
||||||
// NamedTunnelProperties are nil since proxy dns server does not need it.
|
// NamedTunnelProperties are nil since proxy dns server does not need it.
|
||||||
// This is supported for legacy reasons: dns proxy server is not a tunnel and ideally should
|
// This is supported for legacy reasons: dns proxy server is not a tunnel and ideally should
|
||||||
// not run as part of cloudflared tunnel.
|
// not run as part of cloudflared tunnel.
|
||||||
|
Reference in New Issue
Block a user