aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 64f637853..53bca8845 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -3251,8 +3251,9 @@ client_would_use_router(routerstatus_t *rs, time_t now)
/* This one is too old to consider. */
return 0;
}
- if (!rs->is_running) {
- /* If we had this router descriptor, we wouldn't even bother using it. */
+ if (!rs->is_running && !get_options()->FetchUselessRouters) {
+ /* If we had this router descriptor, we wouldn't even bother using it.
+ * But, if we want to have a complete list, fetch it anyway. */
return 0;
}
if (rs->published_on + ESTIMATED_PROPAGATION_TIME > now) {