From 47d3e23155a2946f37aeb1786b992d50760c1f2a Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 17 Apr 2006 06:46:20 +0000 Subject: 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 --- src/or/routerlist.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3