Bugfix for dnsseed introduced by dnslookup

This commit is contained in:
Pieter Wuille 2011-06-02 16:22:49 +02:00
parent 7c05877df2
commit e104c79374

View File

@ -1062,7 +1062,7 @@ void DNSAddressSeed()
for (int seed_idx = 0; seed_idx < ARRAYLEN(strDNSSeed); seed_idx++) {
vector<CAddress> vaddr;
if (Lookup(strDNSSeed[seed_idx], vaddr, NODE_NETWORK, true))
if (Lookup(strDNSSeed[seed_idx], vaddr, NODE_NETWORK, -1, true))
{
BOOST_FOREACH (CAddress& addr, vaddr)
{