File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1585,6 +1585,9 @@ void CConnman::ThreadDNSAddressSeed()
1585
1585
LogPrintf (" Loading addresses from DNS seeds (could take a while)\n " );
1586
1586
1587
1587
BOOST_FOREACH (const CDNSSeedData &seed, vSeeds) {
1588
+ if (interruptNet) {
1589
+ return ;
1590
+ }
1588
1591
if (HaveNameProxy ()) {
1589
1592
AddOneShot (seed.host );
1590
1593
} else {
@@ -1602,6 +1605,9 @@ void CConnman::ThreadDNSAddressSeed()
1602
1605
found++;
1603
1606
}
1604
1607
}
1608
+ if (interruptNet) {
1609
+ return ;
1610
+ }
1605
1611
// TODO: The seed name resolve may fail, yielding an IP of [::], which results in
1606
1612
// addrman assigning the same source to results from different seeds.
1607
1613
// This should switch to a hard-coded stable dummy IP for each seed name, so that the
You can’t perform that action at this time.
0 commit comments