diff options
author | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2016-04-28 11:13:14 +1000 |
---|---|---|
committer | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2016-04-28 12:26:38 +1000 |
commit | d3c60f2bd7430ed319406f89ba6e758038ecd5eb (patch) | |
tree | 2571ff9f669b0a9848c5819484a1cade21d105f2 /src/or/router.c | |
parent | 2cfcf17cfc4377efcf10a036557fa3134bf8c1b1 (diff) | |
download | tor-d3c60f2bd7430ed319406f89ba6e758038ecd5eb.tar.gz tor-d3c60f2bd7430ed319406f89ba6e758038ecd5eb.zip |
Avoid checking ORPort reachability when the network is disabled
This is consistent with existing DirPort reachability checks.
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |