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:
parent
9cce77cc53
commit
d55421df96
|
@ -562,7 +562,7 @@ func ConfigLoad(proxy *Proxy, flags *ConfigFlags) error {
|
||||||
if !proxy.child {
|
if !proxy.child {
|
||||||
dlog.Noticef("dnscrypt-proxy %s", AppVersion)
|
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 {
|
if err := NetProbe(netprobeAddress, netprobeTimeout); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue