diff options
author | Roger Dingledine <arma@torproject.org> | 2005-04-06 18:55:14 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-04-06 18:55:14 +0000 |
commit | 8596947ee220a4ff342cfd72d86cabbf8b6966d8 (patch) | |
tree | c3939d662d176c29ccf2a2354569a5e29168fc2b | |
parent | b16ff67fbf91a31eb530c2a89d03297b3a5dbe23 (diff) | |
download | tor-8596947ee220a4ff342cfd72d86cabbf8b6966d8.tar tor-8596947ee220a4ff342cfd72d86cabbf8b6966d8.tar.gz |
quiet another instance where we whine to an innocent OR operator's
logs when some other server switches keys unexpectedly.
svn:r4032
-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 aa33b1c52..0d7f40376 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -504,7 +504,8 @@ connection_tls_finish_handshake(connection_t *conn) { char d[HEX_DIGEST_LEN+1]; base16_encode(d, HEX_DIGEST_LEN+1, digest_rcvd, DIGEST_LEN); if (strcasecmp(d,conn->nickname+1)) { - log_fn(LOG_WARN, "Identity key not as expected for router at %s:%d: wanted %s but got %s", + log_fn(severity, + "Identity key not as expected for router at %s:%d: wanted %s but got %s", conn->address, conn->port, conn->nickname, d); control_event_or_conn_status(conn, OR_CONN_EVENT_FAILED); // XXX if we're an authdir_mode, forget about nickname's descriptor |