소스 검색

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 년 전
부모
커밋
47d3e23155
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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);