diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-03-09 14:23:23 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-03-09 14:23:23 -0500 |
commit | 8abfcc080424654ae755de352999b3346ebcbb28 (patch) | |
tree | d6682cfc61d5f3fcfbab3378e9de17c6a0680b8c /src | |
parent | a574f7f3fe7b4f7300c1ced5f67d8e014e04ffbd (diff) | |
download | tor-8abfcc080424654ae755de352999b3346ebcbb28.tar.gz tor-8abfcc080424654ae755de352999b3346ebcbb28.zip |
Revise "sufficient exit nodes" check to work with restrictive ExitNodes
If you set ExitNodes so that only 1 exit node is accepted, the
previous patch would have made you unable to build circuits.
Diffstat (limited to 'src')
-rw-r--r-- | src/or/routerlist.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index f9d2e8543c..86cdb83d9d 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -4902,12 +4902,6 @@ update_router_have_minimum_dir_info(void) res = 0; control_event_bootstrap(BOOTSTRAP_STATUS_REQUESTING_DESCRIPTORS, 0); goto done; - } else if (num_exit_present < 2) { - tor_snprintf(dir_info_status, sizeof(dir_info_status), - "Only %d descriptor%s here and believed reachable!", - num_exit_present, num_exit_present ? "" : "s"); - res = 0; - goto done; } /* Check for entry nodes. */ |