mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-01-19 03:00:29 +01:00
Don't bind any sockets when using -test
This commit is contained in:
parent
2158674d17
commit
982f341de8
@ -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…
Reference in New Issue
Block a user