Fix: ignore empty dns server error

This commit is contained in:
Dreamacro 2022-01-05 11:41:31 +08:00
parent 3cb87e083c
commit d237b041b3

View file

@ -60,6 +60,10 @@ func ReCreateServer(addr string, resolver *Resolver, mapper *ResolverEnhancer) {
address = ""
}
if addr == "" {
return
}
var err error
defer func() {
if err != nil {