Skip to content

Commit

Permalink
Fixed bug removing half of the usable DNS resolvers
Browse files Browse the repository at this point in the history
  • Loading branch information
caffix committed Jun 11, 2021
1 parent 2367a5c commit 56b7b6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions systems/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ func setupResolvers(addrs []string, max, rate int, log *log.Logger) []resolve.Re
if err := resolve.ClientSubnetCheck(ip); err == nil {
if n := resolve.NewBaseResolver(ip, rate, log); n != nil {
ch <- n
return
}
}
ch <- nil
Expand Down

0 comments on commit 56b7b6d

Please sign in to comment.