TUN-7097: Fix bug checking proxy-dns config on tunnel cmd execution
This commit is contained in:
parent
4616e9fcc2
commit
bd917d294c
|
@ -195,7 +195,7 @@ func TunnelCommand(c *cli.Context) error {
|
|||
return runClassicTunnel(sc)
|
||||
}
|
||||
|
||||
if c.String("proxy-dns") != "" {
|
||||
if c.IsSet("proxy-dns") {
|
||||
// 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
|
||||
// not run as part of cloudflared tunnel.
|
||||
|
|
Loading…
Reference in New Issue