aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-07 15:22:54 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-07 15:22:54 +0200
commitae3d0aba158d0a38c33d687e5473d688fbcb903d (patch)
tree33aad906eba0bf0500a24196649651bd8d48dfa4 /src/init.cpp
parentfbaee7a8533b23d846ee16837320f709c4e83d47 (diff)
Sync to bitcoin git e94010b2395694d56dd6
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index cac921e2b2..adbfa18c6a 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -493,7 +493,9 @@ bool AppInit2(int argc, char* argv[])
}
}
- if (mapArgs.count("-dnsseed"))
+ if (GetBoolArg("-nodnsseed"))
+ printf("DNS seeding disabled\n");
+ else
DNSAddressSeed();
if (mapArgs.count("-paytxfee"))