summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 9d7f617763..3995fd7d98 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -202,15 +202,7 @@ router_add_running_routers_to_smartlist(smartlist_t *sl, int allow_unverified)
router = smartlist_get(routerlist->routers, i);
if(router->is_running &&
(allow_unverified || router->is_verified)) {
- if(!clique_mode()) {
- smartlist_add(sl, router);
- } else {
- connection_t *conn =
- connection_get_by_identity_digest(router->identity_digest,
- CONN_TYPE_OR);
- if(conn && conn->state == OR_CONN_STATE_OPEN)
- smartlist_add(sl, router);
- }
+ smartlist_add(sl, router);
}
}
}