diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-10-01 21:59:09 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-10-01 21:59:09 +0000 |
commit | 57ffca883d586c0b7e20eea2460587b409f9b302 (patch) | |
tree | c308225bb41ec570809042c114a89b9982fef11c /src/or/rendservice.c | |
parent | 219ad6395cea5403857c3adf1b938741dba79c4f (diff) | |
download | tor-57ffca883d586c0b7e20eea2460587b409f9b302.tar.gz tor-57ffca883d586c0b7e20eea2460587b409f9b302.zip |
r8826@totoro: nickm | 2006-10-01 17:58:45 -0400
Disprefer exit nodes for entry, middle positions (fixes bug 200). Also, switch to using a uint64_t to hold "total bandwidth for all nodes" under consideration; crypt_rand_int would have died at 2GB/s network capacity.
svn:r8571
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index a3e5134a65..1af99df90d 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -1005,7 +1005,7 @@ rend_services_introduce(void) router = router_choose_random_node(service->intro_prefer_nodes, service->intro_exclude_nodes, exclude_routers, 1, 0, 0, get_options()->_AllowInvalid & ALLOW_INVALID_INTRODUCTION, - 0); + 0, 0); if (!router) { log_warn(LD_REND, "Could only establish %d introduction points for %s.", |