aboutsummaryrefslogtreecommitdiff
path: root/src/netbase.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2015-11-09 19:16:38 +0100
committerMarcoFalke <falke.marco@gmail.com>2015-11-28 19:01:11 +0100
commitfaf93f37fe47fe326fcc4955302a66f24eb13b65 (patch)
treea1f2ed7942c30233341f58f85cff6eaf2e14cb5e /src/netbase.h
parent3307bdb3331732e781c77a88ef7053fe23c78701 (diff)
[trivial] Reuse translation and cleanup DEFAULT_* values
* DEFAULT_DISABLE_SAFEMODE = false * Use DEFAULT_* constants for extern bools
Diffstat (limited to 'src/netbase.h')
-rw-r--r--src/netbase.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/netbase.h b/src/netbase.h
index 2a79f82d72..9c2df0338e 100644
--- a/src/netbase.h
+++ b/src/netbase.h
@@ -19,8 +19,10 @@
extern int nConnectTimeout;
extern bool fNameLookup;
-/** -timeout default */
+//! -timeout default
static const int DEFAULT_CONNECT_TIMEOUT = 5000;
+//! -dns default
+static const int DEFAULT_NAME_LOOKUP = true;
#ifdef WIN32
// In MSVC, this is defined as a macro, undefine it to prevent a compile and link error