mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Do not check whether DirPort is reachable when we are suppressing it because of hibernation. (Backport candidate)
svn:r5235
This commit is contained in:
parent
08e4f132a8
commit
bf9ff1c1e7
@ -402,8 +402,10 @@ int
|
||||
check_whether_dirport_reachable(void)
|
||||
{
|
||||
or_options_t *options = get_options();
|
||||
routerinfo_t *ri = router_get_my_routerinfo();
|
||||
return !options->DirPort ||
|
||||
options->AssumeReachable ||
|
||||
(ri && !ri->dir_port) ||
|
||||
can_reach_dir_port;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user