summaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-09-17 22:45:54 -0400
committerRoger Dingledine <arma@torproject.org>2009-12-21 03:52:31 -0500
commit580066f2f6fb9be141edab80396035f43895ac6f (patch)
tree27b1df0ad5796eed0708b929b9c0807d9736baa0 /src/or/rendservice.c
parent5fee54a50f0c282193037649cf9c334c3e01dadb (diff)
downloadtor-580066f2f6fb9be141edab80396035f43895ac6f.tar.gz
tor-580066f2f6fb9be141edab80396035f43895ac6f.zip
Switch to a StrictNodes config option.
This is step one of handling ExcludedNodes better. This first step is just to make EntryNodes and ExitNodes do what they did before.
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 6f81868d99..9fcf248c37 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -1825,7 +1825,7 @@ rend_services_introduce(void)
router_crn_flags_t flags = CRN_NEED_UPTIME;
if (get_options()->_AllowInvalid & ALLOW_INVALID_INTRODUCTION)
flags |= CRN_ALLOW_INVALID;
- router = router_choose_random_node(NULL, intro_routers,
+ router = router_choose_random_node(intro_routers,
options->ExcludeNodes, flags);
if (!router) {
log_warn(LD_REND,