summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2011-03-11 06:19:15 -0500
committerNick Mathewson <nickm@torproject.org>2011-04-26 23:54:15 -0400
commit5710ea64757cf0b36ab6d97409bbb9213116f949 (patch)
tree65f46a9e3f7f4d04ebc7394914f1a6d4b1bf27fe /src/or/router.c
parent9f47cfc21a8fa91b98a48291c316121135fa3f17 (diff)
downloadtor-5710ea64757cf0b36ab6d97409bbb9213116f949.tar.gz
tor-5710ea64757cf0b36ab6d97409bbb9213116f949.zip
three more cases where maybe we want to exclude
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c
index c15b9b236e..6993e1eb0a 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -857,6 +857,7 @@ consider_testing_reachability(int test_or, int test_dir)
log_info(LD_CIRC, "Testing %s of my ORPort: %s:%d.",
!orport_reachable ? "reachability" : "bandwidth",
me->address, me->or_port);
+ /* XXX022-1090 If we ExcludeNodes ourself, should this fail? -RD */
circuit_launch_by_router(CIRCUIT_PURPOSE_TESTING, me,
CIRCLAUNCH_NEED_CAPACITY|CIRCLAUNCH_IS_INTERNAL);
}
@@ -867,6 +868,7 @@ consider_testing_reachability(int test_or, int test_dir)
CONN_TYPE_DIR, &addr, me->dir_port,
DIR_PURPOSE_FETCH_SERVERDESC)) {
/* ask myself, via tor, for my server descriptor. */
+ /* XXX022-1090 If we ExcludeNodes ourself, should this fail? -RD */
directory_initiate_command(me->address, &addr,
me->or_port, me->dir_port,
0, /* does not matter */