|
@@ -1098,7 +1098,7 @@ static routerinfo_t *choose_good_middle_server(cpath_build_state_t *state,
|
|
excluded = smartlist_create();
|
|
excluded = smartlist_create();
|
|
if((r = router_get_by_digest(state->chosen_exit_digest)))
|
|
if((r = router_get_by_digest(state->chosen_exit_digest)))
|
|
smartlist_add(excluded, r);
|
|
smartlist_add(excluded, r);
|
|
- if((r = router_get_my_routerinfo()))
|
|
|
|
|
|
+ if((r = routerlist_find_my_routerinfo()))
|
|
smartlist_add(excluded, r);
|
|
smartlist_add(excluded, r);
|
|
for (i = 0, cpath = head; i < cur_len; ++i, cpath=cpath->next) {
|
|
for (i = 0, cpath = head; i < cur_len; ++i, cpath=cpath->next) {
|
|
r = router_get_by_digest(cpath->identity_digest);
|
|
r = router_get_by_digest(cpath->identity_digest);
|
|
@@ -1119,7 +1119,7 @@ static routerinfo_t *choose_good_entry_server(cpath_build_state_t *state)
|
|
|
|
|
|
if((r = router_get_by_digest(state->chosen_exit_digest)))
|
|
if((r = router_get_by_digest(state->chosen_exit_digest)))
|
|
smartlist_add(excluded, r);
|
|
smartlist_add(excluded, r);
|
|
- if((r = router_get_my_routerinfo()))
|
|
|
|
|
|
+ if((r = routerlist_find_my_routerinfo()))
|
|
smartlist_add(excluded, r);
|
|
smartlist_add(excluded, r);
|
|
if(options.FascistFirewall) {
|
|
if(options.FascistFirewall) {
|
|
/* exclude all ORs that listen on the wrong port */
|
|
/* exclude all ORs that listen on the wrong port */
|