diff options
author | Roger Dingledine <arma@torproject.org> | 2003-12-14 06:50:44 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-12-14 06:50:44 +0000 |
commit | 8f573c06c3d9b46596354b5e2b73b3e07b36a335 (patch) | |
tree | 7bebd0f494e675132264c53a01f9ca1b87dfab7b /src/or/onion.c | |
parent | 1a2813ba7b07d466c8146bf9aa2e278530427f6b (diff) | |
download | tor-8f573c06c3d9b46596354b5e2b73b3e07b36a335.tar tor-8f573c06c3d9b46596354b5e2b73b3e07b36a335.tar.gz |
start to track the 'unexpected relay cell' warning
svn:r928
Diffstat (limited to 'src/or/onion.c')
-rw-r--r-- | src/or/onion.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/onion.c b/src/or/onion.c index d2ec1b94a..5578fb793 100644 --- a/src/or/onion.c +++ b/src/or/onion.c @@ -477,6 +477,7 @@ int onion_extend_cpath(crypt_path_t **head_ptr, cpath_build_state_t *state, rout /* try the nodes in EntryNodes first */ sl = smartlist_create(MAX_ROUTERS_IN_DIR); add_nickname_list_to_smartlist(sl,options.EntryNodes); + /* XXX one day, consider picking chosen_exit knowing what's in EntryNodes */ remove_twins_from_smartlist(sl,router_get_by_nickname(state->chosen_exit)); smartlist_subtract(sl,excludednodes); choice = smartlist_choose(sl); |