aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-07-23 14:07:32 +0000
committerNick Mathewson <nickm@torproject.org>2008-07-23 14:07:32 +0000
commit15b2b8bd69ff30a85c2364bcc528090b36aa9286 (patch)
treecde62b5daf0796a6356c9c5f209a9ed8fd845129 /src/or/circuitlist.c
parentcc46b232485b192d988bc6ef9ffbfcb88e630491 (diff)
downloadtor-15b2b8bd69ff30a85c2364bcc528090b36aa9286.tar.gz
tor-15b2b8bd69ff30a85c2364bcc528090b36aa9286.zip
r17309@aud-055: nickm | 2008-07-23 16:05:43 +0200
Patch from Christian Wilms: remove (HiddenService|Rend)(Exclude)?Nodes options. They never worked properly, and nobody seems to be using them. Resolves bug 754. svn:r16144
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r--src/or/circuitlist.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index adb0d7867e..e592485fcf 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -838,14 +838,6 @@ circuit_find_to_cannibalize(uint8_t purpose, extend_info_t *info,
_circ->purpose == CIRCUIT_PURPOSE_C_GENERAL &&
!_circ->timestamp_dirty) {
origin_circuit_t *circ = TO_ORIGIN_CIRCUIT(_circ);
-#if 0 /* XXX here while roger investigates a reported RendNodes bug */
- if (_circ->purpose == CIRCUIT_PURPOSE_C_ESTABLISH_REND &&
- options->RendNodes) {
- routerinfo_t *exit = build_state_get_exit_router(circ->build_state);
- if (exit && !router_nickname_is_in_list(exit, options->RendNodes))
- continue; /* not one of our allowed RendNodes */
- }
-#endif
if ((!need_uptime || circ->build_state->need_uptime) &&
(!need_capacity || circ->build_state->need_capacity) &&
(internal == circ->build_state->is_internal)) {