From 982f341de8f396a55957102455be0ad1a62fab6c Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 27 Feb 2018 03:00:11 +0100 Subject: [PATCH] Don't bind any sockets when using -test --- dnscrypt-proxy/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dnscrypt-proxy/config.go b/dnscrypt-proxy/config.go index bcb0226d..97822bb4 100644 --- a/dnscrypt-proxy/config.go +++ b/dnscrypt-proxy/config.go @@ -271,6 +271,7 @@ func ConfigLoad(proxy *Proxy, svcFlag *string) error { if testGracePeriod != nil && *testGracePeriod > 0 { proxy.testGracePeriod = testGracePeriod + proxy.listenAddresses = nil } if *listAll {