Don't bind any sockets when using -test

This commit is contained in:
Frank Denis 2018-02-27 03:00:11 +01:00
parent 2158674d17
commit 982f341de8
1 changed files with 1 additions and 0 deletions

View File

@ -271,6 +271,7 @@ func ConfigLoad(proxy *Proxy, svcFlag *string) error {
if testGracePeriod != nil && *testGracePeriod > 0 {
proxy.testGracePeriod = testGracePeriod
proxy.listenAddresses = nil
}
if *listAll {