[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] quiet another instance where we whine to an innocent OR ope...
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] quiet another instance where we whine to an innocent OR ope...
- From: arma@xxxxxxxx (Roger Dingledine)
- Date: Wed, 6 Apr 2005 14:55:17 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Wed, 06 Apr 2005 14:55:40 -0400
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or
Modified Files:
connection_or.c
Log Message:
quiet another instance where we whine to an innocent OR operator's
logs when some other server switches keys unexpectedly.
Index: connection_or.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection_or.c,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -d -r1.166 -r1.167
--- connection_or.c 6 Apr 2005 05:35:06 -0000 1.166
+++ connection_or.c 6 Apr 2005 18:55:14 -0000 1.167
@@ -504,7 +504,8 @@
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