aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-12-11 11:20:01 +0000
committerRoger Dingledine <arma@torproject.org>2005-12-11 11:20:01 +0000
commitb974f67c014f7b8ff47e1b26a1aaa21674f21098 (patch)
treeccf73dff46c172bf086dd3bb4dea45a8662af0cb /src/or/circuitbuild.c
parent77c0f6d456115d92a954457bdfcf6b04fff4d290 (diff)
downloadtor-b974f67c014f7b8ff47e1b26a1aaa21674f21098.tar
tor-b974f67c014f7b8ff47e1b26a1aaa21674f21098.tar.gz
choose helper nodes to have high capacity always
svn:r5563
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index f3b27153a..cc4082b72 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1503,7 +1503,7 @@ choose_good_entry_server(cpath_build_state_t *state)
// but only if there are enough other nodes available.
choice = router_choose_random_node(options->EntryNodes, options->ExcludeNodes,
excluded, state ? state->need_uptime : 1,
- state ? state->need_capacity : 0,
+ state ? state->need_capacity : 1,
options->_AllowUnverified & ALLOW_UNVERIFIED_ENTRY,
options->StrictEntryNodes);
smartlist_free(excluded);