소스 검색

when we do reachability testing and the tls cert at the other
end disagrees with a descriptor we already have, be more useful
at explaining it.


svn:r6322

Roger Dingledine 19 년 전
부모
커밋
f1692ebefc
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      src/or/dirserv.c

+ 5 - 5
src/or/dirserv.c

@@ -1641,16 +1641,16 @@ dirserv_orconn_tls_done(const char *address,
       /* We have a router at the same address! */
       if (strcasecmp(ri->nickname, nickname_rcvd)) {
         log_notice(LD_DIRSERV,
-                   "Dropping descriptor: nickname '%s' does not match "
-                   "nickname '%s' in cert from %s:%d",
+                   "Dropping old descriptor: nickname '%s' does not match "
+                   "nickname '%s' in new cert from %s:%d",
                    ri->nickname, nickname_rcvd, address, or_port);
         drop = 1;
       } else if (memcmp(ri->cache_info.identity_digest, digest_rcvd,
                         DIGEST_LEN)) {
         log_notice(LD_DIRSERV,
-                   "Dropping descriptor: identity key does not match "
-                   "key in cert from %s:%d",
-                   address, or_port);
+                   "Dropping old descriptor for nickname '%s': "
+                   "identity key does not match key in new cert from %s:%d",
+                   ri->nickname, address, or_port);
         drop = 1;
       }
     }