aboutsummaryrefslogtreecommitdiff
path: root/src/torcontrol.cpp
diff options
context:
space:
mode:
authorPatrick Strateman <patrick.strateman@gmail.com>2016-02-17 22:44:32 -0800
committerPatrick Strateman <patrick.strateman@gmail.com>2016-02-17 23:21:27 -0800
commit110b62f06992d0fb989153afff2dc3aea62a674f (patch)
tree1d2e7f7dc68300c437f07430239b6b1f9f165343 /src/torcontrol.cpp
parent8b70a64d62c6e64288762d062414cc979f880c54 (diff)
downloadbitcoin-110b62f06992d0fb989153afff2dc3aea62a674f.tar.xz
Remove vfReachable and modify IsReachable to only use vfLimited.
We do not know that a class of Network is reachable, only that it is not.
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 10170dbcea..6fa8ce9d5b 100644
--- a/src/torcontrol.cpp
+++ b/src/torcontrol.cpp
@@ -459,7 +459,7 @@ void TorController::auth_cb(TorControlConnection& conn, const TorControlReply& r
if (GetArg("-onion", "") == "") {
proxyType addrOnion = proxyType(CService("127.0.0.1", 9050), true);
SetProxy(NET_TOR, addrOnion);
- SetReachable(NET_TOR);
+ SetLimited(NET_TOR, false);
}
// Finally - now create the service