]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
make it less noisy for normal ORs when a server uses a false nickname
authorRoger Dingledine <arma@torproject.org>
Sun, 28 Mar 2004 21:35:02 +0000 (21:35 +0000)
committerRoger Dingledine <arma@torproject.org>
Sun, 28 Mar 2004 21:35:02 +0000 (21:35 +0000)
svn:r1359

src/or/connection_or.c

index 833965250c9d25cbf2a187d42258d1ac1793a25c..45ac64f23e4d5061ddec3512eae6dea93202aac6 100644 (file)
@@ -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;
   }