aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2017-06-21 15:45:20 -0400
committerCory Fields <cory-nospam-@coryfields.com>2017-06-22 15:21:22 -0400
commitd5c7c1cfe3090775bf30dee531d511801926c18b (patch)
tree21a4316bfbcd0b5a3ffd525f71bd7ff9eebf023c /src
parent6cdc488e3604267b1e115da5c50ffb970cd30084 (diff)
downloadbitcoin-d5c7c1cfe3090775bf30dee531d511801926c18b.tar.xz
net: use an internal address for fixed seeds
Diffstat (limited to 'src')
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 0fcf9e0aba..cd9e0d05d9 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -1718,7 +1718,7 @@ void CConnman::ThreadOpenConnections()
if (!done) {
LogPrintf("Adding fixed seed nodes as DNS doesn't seem to be available.\n");
CNetAddr local;
- LookupHost("127.0.0.1", local, false);
+ local.SetInternal("fixedseeds");
addrman.Add(convertSeed6(Params().FixedSeeds()), local);
done = true;
}