diff options
-rw-r--r-- | src/or/router.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c index 92ce6e0b4..d2865cc80 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -402,10 +402,9 @@ 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) || + we_are_hibernating() || can_reach_dir_port; } |