ソースを参照

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

svn:r1359
Roger Dingledine 20 年 前
コミット
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;
   }