aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-04-17 06:46:20 +0000
committerRoger Dingledine <arma@torproject.org>2006-04-17 06:46:20 +0000
commit47d3e23155a2946f37aeb1786b992d50760c1f2a (patch)
tree4070db78aedf3850786eeb3880bc344d62b171fc
parent34bc0866d463fa5cf59d8d07d80e1127fa630462 (diff)
downloadtor-47d3e23155a2946f37aeb1786b992d50760c1f2a.tar
tor-47d3e23155a2946f37aeb1786b992d50760c1f2a.tar.gz
note another bug: we complain that a router doesn't exist,
because it's down so we never fetched it so it doesn't exist. svn:r6394
-rw-r--r--src/or/routerlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index c6c3af1a4..c823105cb 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -612,6 +612,9 @@ add_nickname_list_to_smartlist(smartlist_t *sl, const char *list,
}
}
} else {
+ /* XXX If it's down, we won't *have* the descriptor, since we
+ * don't fetch down descriptors. Need to check if it's in the
+ * status too before complaining. */
if (!warned) {
log_fn(have_dir_info ? LOG_WARN : LOG_INFO, LD_CONFIG,
"Nickname list includes '%s' which isn't a known router.",nick);