Merge: - dns: fix crash (rDNS)

* commit '1abd9da27d7ced46a92e2b0cb85224a1d7d9025b':
  - dns: fix crash (rDNS)
This commit is contained in:
Simon Zolin 2019-05-29 12:50:04 +03:00
commit 147344afa3

1
dns.go
View File

@ -58,6 +58,7 @@ func initDNSServer(baseDir string) {
log.Error("upstream.AddressToUpstream: %s", err)
return
}
dnsctx.rdnsIP = make(map[string]bool)
dnsctx.rdnsChannel = make(chan string, 256)
go asyncRDNSLoop()
}