|
@@ -1577,10 +1577,6 @@ choose_good_middle_server(uint8_t purpose,
|
|
|
smartlist_add(excluded, r);
|
|
|
routerlist_add_family(excluded, r);
|
|
|
}
|
|
|
- if ((r = routerlist_find_my_routerinfo())) {
|
|
|
- smartlist_add(excluded, r);
|
|
|
- routerlist_add_family(excluded, r);
|
|
|
- }
|
|
|
for (i = 0, cpath = head; i < cur_len; ++i, cpath=cpath->next) {
|
|
|
if ((r = router_get_by_digest(cpath->extend_info->identity_digest))) {
|
|
|
smartlist_add(excluded, r);
|
|
@@ -1624,10 +1620,6 @@ choose_good_entry_server(uint8_t purpose, cpath_build_state_t *state)
|
|
|
smartlist_add(excluded, r);
|
|
|
routerlist_add_family(excluded, r);
|
|
|
}
|
|
|
- if ((r = routerlist_find_my_routerinfo())) {
|
|
|
- smartlist_add(excluded, r);
|
|
|
- routerlist_add_family(excluded, r);
|
|
|
- }
|
|
|
if (firewall_is_fascist_or()) {
|
|
|
/* exclude all ORs that listen on the wrong port */
|
|
|
routerlist_t *rl = router_get_routerlist();
|