diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2016-04-12 20:48:29 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2016-04-20 13:08:19 -0400 |
commit | d39f5b425d8fc1bf3b7f33d35625ffd8d7a3cd77 (patch) | |
tree | 915b34e43de28e551052fd08f66fa76ee5912171 /src/torcontrol.cpp | |
parent | 367569926a9b15c05ba8d56c554880b8f5614f71 (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.cpp | 2 |
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()); |