- dns: fix crash (rDNS)
This commit is contained in:
parent
d9e70f5244
commit
1abd9da27d
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
Block a user