소스 검색

make it less noisy for normal ORs when a server uses a false nickname

svn:r1359
Roger Dingledine 21 년 전
부모
커밋
8c3999c964
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/or/connection_or.c

+ 2 - 1
src/or/connection_or.c

@@ -233,7 +233,8 @@ static int connection_tls_finish_handshake(connection_t *conn) {
   }
   crypto_free_pk_env(pk);
   if (strcmp(conn->nickname, nickname)) {
-    log_fn(LOG_WARN,"Other side claims to be '%s', but we wanted '%s'",
+    log_fn(options.DirPort ? LOG_WARN : LOG_INFO,
+           "Other side claims to be '%s', but we expected '%s'",
            nickname, conn->nickname);
     return -1;
   }