mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Update to new choose_random_node interface.
svn:r2239
This commit is contained in:
parent
bcf8ca5ba6
commit
6514eb5d44
@ -822,7 +822,7 @@ void rend_services_introduce(void) {
|
||||
for (j=prev_intro_nodes; j < NUM_INTRO_POINTS; ++j) {
|
||||
router = router_choose_random_node(service->intro_prefer_nodes,
|
||||
service->intro_exclude_nodes,
|
||||
exclude_routers, 1, 0);
|
||||
exclude_routers, 1, 0, 0);
|
||||
if (!router) {
|
||||
log_fn(LOG_WARN, "Could only establish %d introduction points for %s",
|
||||
smartlist_len(service->intro_nodes), service->service_id);
|
||||
|
Loading…
Reference in New Issue
Block a user