This commit is contained in:
naiba 2021-06-21 21:41:18 +08:00
parent 4b0c0ad288
commit 26ba5d3786

View File

@ -56,7 +56,7 @@ func resolveIP(addr string, ipv6 bool) (string, error) {
var resolveLock sync.RWMutex
var ipv4Resolved, ipv6Resolved bool
wg.Add(len(dnsServers) + 1)
wg.Add(len(dnsServers))
go func() {
}()