Explorar el Código

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

svn:r1359
Roger Dingledine hace 21 años
padre
commit
8c3999c964
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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;
   }