From d3c60f2bd7430ed319406f89ba6e758038ecd5eb Mon Sep 17 00:00:00 2001 From: "teor (Tim Wilson-Brown)" Date: Thu, 28 Apr 2016 11:13:14 +1000 Subject: Avoid checking ORPort reachability when the network is disabled This is consistent with existing DirPort reachability checks. --- src/or/router.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/router.c') diff --git a/src/or/router.c b/src/or/router.c index 545753c82e..1083e24f99 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -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; } -- cgit v1.2.3-54-g00ecf