mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Avoid checking ORPort reachability when the network is disabled
This is consistent with existing DirPort reachability checks.
This commit is contained in:
@@ -1085,6 +1085,7 @@ check_whether_orport_reachable(void)
|
||||
{
|
||||
const or_options_t *options = get_options();
|
||||
return options->AssumeReachable ||
|
||||
net_is_disabled() ||
|
||||
can_reach_or_port;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user