aboutsummaryrefslogtreecommitdiff
path: root/src/torcontrol.cpp
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2016-04-12 20:48:29 -0400
committerCory Fields <cory-nospam-@coryfields.com>2016-04-20 13:08:19 -0400
commitd39f5b425d8fc1bf3b7f33d35625ffd8d7a3cd77 (patch)
tree915b34e43de28e551052fd08f66fa76ee5912171 /src/torcontrol.cpp
parent367569926a9b15c05ba8d56c554880b8f5614f71 (diff)
net: disable resolving from storage structures
CNetAddr/CService/CSubnet can no longer resolve DNS.
Diffstat (limited to 'src/torcontrol.cpp')
-rw-r--r--src/torcontrol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/torcontrol.cpp b/src/torcontrol.cpp
index 1c7bc2dbee..47d834c7b4 100644
--- a/src/torcontrol.cpp
+++ b/src/torcontrol.cpp
@@ -438,7 +438,7 @@ void TorController::add_onion_cb(TorControlConnection& conn, const TorControlRep
private_key = i->second;
}
- service = CService(service_id+".onion", GetListenPort(), false);
+ service = CService(service_id+".onion", GetListenPort());
LogPrintf("tor: Got service ID %s, advertising service %s\n", service_id, service.ToString());
if (WriteBinaryFile(GetPrivateKeyFile(), private_key)) {
LogPrint("tor", "tor: Cached service private key to %s\n", GetPrivateKeyFile());