net: use an internal address for fixed seeds
This commit is contained in:
parent
6cdc488e36
commit
d5c7c1cfe3
1 changed files with 1 additions and 1 deletions
|
@ -1718,7 +1718,7 @@ void CConnman::ThreadOpenConnections()
|
||||||
if (!done) {
|
if (!done) {
|
||||||
LogPrintf("Adding fixed seed nodes as DNS doesn't seem to be available.\n");
|
LogPrintf("Adding fixed seed nodes as DNS doesn't seem to be available.\n");
|
||||||
CNetAddr local;
|
CNetAddr local;
|
||||||
LookupHost("127.0.0.1", local, false);
|
local.SetInternal("fixedseeds");
|
||||||
addrman.Add(convertSeed6(Params().FixedSeeds()), local);
|
addrman.Add(convertSeed6(Params().FixedSeeds()), local);
|
||||||
done = true;
|
done = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue