mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-05 22:27:37 +03:00
Don't bind any sockets when using -test
This commit is contained in:
parent
2158674d17
commit
982f341de8
1 changed files with 1 additions and 0 deletions
|
@ -271,6 +271,7 @@ func ConfigLoad(proxy *Proxy, svcFlag *string) error {
|
|||
|
||||
if testGracePeriod != nil && *testGracePeriod > 0 {
|
||||
proxy.testGracePeriod = testGracePeriod
|
||||
proxy.listenAddresses = nil
|
||||
}
|
||||
|
||||
if *listAll {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue