- dns: fix crash (rDNS)

This commit is contained in:
Simon Zolin 2019-05-28 19:48:16 +03:00
parent d9e70f5244
commit 1abd9da27d

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()
}