clean up r10240 so we avoid the exit node itself too

svn:r10242
This commit is contained in:
Roger Dingledine 2007-05-22 01:20:23 +00:00
parent b89ad9eb1b
commit 590a98ff37

View File

@ -2345,6 +2345,7 @@ choose_random_entry(cpath_build_state_t *state)
int need_uptime = state->need_uptime; int need_uptime = state->need_uptime;
int need_capacity = state->need_capacity; int need_capacity = state->need_capacity;
smartlist_add(exit_family, chosen_exit);
routerlist_add_family(exit_family, chosen_exit); routerlist_add_family(exit_family, chosen_exit);
if (!entry_guards) if (!entry_guards)