Merge: - dns: fix crash (rDNS)
* commit '1abd9da27d7ced46a92e2b0cb85224a1d7d9025b': - dns: fix crash (rDNS)
This commit is contained in:
commit
147344afa3
1
dns.go
1
dns.go
|
@ -58,6 +58,7 @@ func initDNSServer(baseDir string) {
|
||||||
log.Error("upstream.AddressToUpstream: %s", err)
|
log.Error("upstream.AddressToUpstream: %s", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
dnsctx.rdnsIP = make(map[string]bool)
|
||||||
dnsctx.rdnsChannel = make(chan string, 256)
|
dnsctx.rdnsChannel = make(chan string, 256)
|
||||||
go asyncRDNSLoop()
|
go asyncRDNSLoop()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue