Don't bind listening sockets with the -list/-list-all options

Fixes https://github.com/Homebrew/homebrew-core/pull/55998
This commit is contained in:
Frank Denis 2020-06-11 11:41:17 +02:00
parent 9cce77cc53
commit d55421df96
1 changed files with 1 additions and 1 deletions

View File

@ -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
}