aboutsummaryrefslogtreecommitdiff
path: root/src/or/onion.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-04-02 22:30:39 +0000
committerRoger Dingledine <arma@torproject.org>2004-04-02 22:30:39 +0000
commitfc3d7383e75499ccd78afbbadeda39c7b5c3012f (patch)
tree607ab261b065f907a74427c76c8138bae10e3fb6 /src/or/onion.c
parentf34e6da3e75ad5b681c68e6c0a50d65d4566f9cf (diff)
downloadtor-fc3d7383e75499ccd78afbbadeda39c7b5c3012f.tar.gz
tor-fc3d7383e75499ccd78afbbadeda39c7b5c3012f.zip
router_choose_random_node can take a smartlist of nodes to exclude
svn:r1442
Diffstat (limited to 'src/or/onion.c')
-rw-r--r--src/or/onion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/onion.c b/src/or/onion.c
index 36f76415a6..44e32c44fb 100644
--- a/src/or/onion.c
+++ b/src/or/onion.c
@@ -334,7 +334,7 @@ static routerinfo_t *choose_good_exit_server(uint8_t purpose, routerlist_t *dir)
if(purpose == CIRCUIT_PURPOSE_C_GENERAL)
return choose_good_exit_server_general(dir);
else
- return router_choose_random_node(dir, options.RendNodes, options.RendExcludeNodes);
+ return router_choose_random_node(dir, options.RendNodes, options.RendExcludeNodes, NULL);
}
cpath_build_state_t *onion_new_cpath_build_state(uint8_t purpose,