aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-03-22 00:42:38 +0000
committerRoger Dingledine <arma@torproject.org>2005-03-22 00:42:38 +0000
commit35953edae073e69efe06f4ea313066b514b772a0 (patch)
tree3f89981b90370e5c4c727e3b86905813871828d9 /src/or/router.c
parent5d5b12ce750e60041f7654449129fe268ed76a2e (diff)
downloadtor-35953edae073e69efe06f4ea313066b514b772a0.tar
tor-35953edae073e69efe06f4ea313066b514b772a0.tar.gz
Implement controller's "extendcircuit" directive.
Also refactor circuit building so we plan the whole path ahead of time. svn:r3797
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 0d158c7ea..d70211bd0 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -385,7 +385,7 @@ void consider_testing_reachability(void) {
routerinfo_t *me = router_get_my_routerinfo();
if (!can_reach_or_port) {
- circuit_launch_by_identity(CIRCUIT_PURPOSE_TESTING, me->identity_digest, 0, 0, 1);
+ circuit_launch_by_router(CIRCUIT_PURPOSE_TESTING, me, 0, 0, 1);
}
if (!can_reach_dir_port && me->dir_port) {