Drop IsLimited in favor of IsReachable

These two methods have had the same meaning, but inverted, since
110b62f069. Having one name for a single
concept simplifies the code.
This commit is contained in:
Ben Woosley
2019-01-09 16:41:37 -08:00
parent 0ed279cb4e
commit d6b076c17b
6 changed files with 44 additions and 65 deletions

View File

@@ -527,7 +527,7 @@ void TorController::auth_cb(TorControlConnection& _conn, const TorControlReply&
CService resolved(LookupNumeric("127.0.0.1", 9050));
proxyType addrOnion = proxyType(resolved, true);
SetProxy(NET_ONION, addrOnion);
SetLimited(NET_ONION, false);
SetReachable(NET_ONION, true);
}
// Finally - now create the service