diff options
author | Roger Dingledine <arma@torproject.org> | 2004-03-28 21:35:02 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-03-28 21:35:02 +0000 |
commit | 8c3999c9648f0d28ec16f1de7a0190d7b2730e7f (patch) | |
tree | a108637a8d53267d3ae7dfc2344e30df21809d20 | |
parent | 4a5586b8e311114b28defc3bdf7d1d74618e749e (diff) | |
download | tor-8c3999c9648f0d28ec16f1de7a0190d7b2730e7f.tar.gz tor-8c3999c9648f0d28ec16f1de7a0190d7b2730e7f.zip |
make it less noisy for normal ORs when a server uses a false nickname
svn:r1359
-rw-r--r-- | src/or/connection_or.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 833965250c..45ac64f23e 100644 --- a/src/or/connection_or.c +++ b/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; } |