Browse Source

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

Roger Dingledine 19 years ago
parent
commit
47d3e23155
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/or/routerlist.c

+ 3 - 0
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);