Fix: ignore empty dns server error
This commit is contained in:
parent
91c5381222
commit
45037114e3
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,10 @@ func ReCreateServer(addr string, resolver *Resolver, mapper *ResolverEnhancer) {
|
|||
address = ""
|
||||
}
|
||||
|
||||
if addr == "" {
|
||||
return
|
||||
}
|
||||
|
||||
var err error
|
||||
defer func() {
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue