aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2011-07-01 17:58:03 -0400
committerJeff Garzik <jgarzik@pobox.com>2011-07-01 17:58:03 -0400
commit362efb24c14bb4e6b03bc4ed058870dfd684c89b (patch)
tree05060e24e117dbb7516d716e01e75d306c0a1c2c
parent7fbeca05c9fc34a7131559444b27d81c1a61676c (diff)
Enable DNS seeding by default.
-rw-r--r--src/init.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index ebe176a5e4..635799ccf9 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -494,7 +494,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"))