From d55421df964098752b1ef8e223a6ec2e60b3d4ad Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 11 Jun 2020 11:41:17 +0200 Subject: [PATCH] Don't bind listening sockets with the -list/-list-all options Fixes https://github.com/Homebrew/homebrew-core/pull/55998 --- dnscrypt-proxy/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscrypt-proxy/config.go b/dnscrypt-proxy/config.go index b1212cea..2a195719 100644 --- a/dnscrypt-proxy/config.go +++ b/dnscrypt-proxy/config.go @@ -562,7 +562,7 @@ func ConfigLoad(proxy *Proxy, flags *ConfigFlags) error { if !proxy.child { dlog.Noticef("dnscrypt-proxy %s", AppVersion) } - if !*flags.Check && !*flags.ShowCerts { + if !*flags.Check && !*flags.ShowCerts && !*flags.List && !*flags.ListAll { if err := NetProbe(netprobeAddress, netprobeTimeout); err != nil { return err }