mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 16:24:37 +03:00
update to latest adns, synced with Go's net
This commit is contained in:
2
vendor/github.com/mjl-/adns/hosts.go
generated
vendored
2
vendor/github.com/mjl-/adns/hosts.go
generated
vendored
@ -52,7 +52,7 @@ var hosts struct {
|
||||
|
||||
func readHosts() {
|
||||
now := time.Now()
|
||||
hp := testHookHostsPath
|
||||
hp := hostsFilePath
|
||||
|
||||
if now.Before(hosts.expire) && hosts.path == hp && len(hosts.byName) > 0 {
|
||||
return
|
||||
|
Reference in New Issue
Block a user