Fix: ignore empty dns server error

This commit is contained in:
gVisor bot 2022-01-05 11:41:31 +08:00
parent 91c5381222
commit 45037114e3

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 {