Update DISC subsystem log out for consistency.
This commit is contained in:
parent
3d62b24fe1
commit
24aba3189e
1 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ func torLookupIP(host, proxy string) ([]net.IP, error) {
|
||||||
// any hosts in the list. Therefore if all hosts failed an empty slice of
|
// any hosts in the list. Therefore if all hosts failed an empty slice of
|
||||||
// strings will be returned.
|
// strings will be returned.
|
||||||
func dnsDiscover(seeder string, proxy string) []net.IP {
|
func dnsDiscover(seeder string, proxy string) []net.IP {
|
||||||
log.Debugf("[DISC] Fetching list of seeds from %v", seeder)
|
log.Debugf("DISC: Fetching list of seeds from %v", seeder)
|
||||||
peers, err := doDNSLookup(seeder, proxy)
|
peers, err := doDNSLookup(seeder, proxy)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
seederPlusProxy := seeder
|
seederPlusProxy := seeder
|
||||||
|
@ -158,7 +158,7 @@ func dnsDiscover(seeder string, proxy string) []net.IP {
|
||||||
seederPlusProxy = fmt.Sprintf("%s (proxy %s)",
|
seederPlusProxy = fmt.Sprintf("%s (proxy %s)",
|
||||||
seeder, proxy)
|
seeder, proxy)
|
||||||
}
|
}
|
||||||
log.Warnf("[DISC] Failed to fetch dns seeds "+
|
log.Warnf("DISC: Failed to fetch dns seeds "+
|
||||||
"from %s: %v", seederPlusProxy, err)
|
"from %s: %v", seederPlusProxy, err)
|
||||||
return []net.IP{}
|
return []net.IP{}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue