From f1692ebefce842bba0f1457cc3578ad59333edd1 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 8 Apr 2006 20:35:19 +0000 Subject: when we do reachability testing and the tls cert at the other end disagrees with a descriptor we already have, be more useful at explaining it. svn:r6322 --- src/or/dirserv.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 0166c95b9..8d2c7fc88 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1641,16 +1641,16 @@ dirserv_orconn_tls_done(const char *address, /* We have a router at the same address! */ if (strcasecmp(ri->nickname, nickname_rcvd)) { log_notice(LD_DIRSERV, - "Dropping descriptor: nickname '%s' does not match " - "nickname '%s' in cert from %s:%d", + "Dropping old descriptor: nickname '%s' does not match " + "nickname '%s' in new cert from %s:%d", ri->nickname, nickname_rcvd, address, or_port); drop = 1; } else if (memcmp(ri->cache_info.identity_digest, digest_rcvd, DIGEST_LEN)) { log_notice(LD_DIRSERV, - "Dropping descriptor: identity key does not match " - "key in cert from %s:%d", - address, or_port); + "Dropping old descriptor for nickname '%s': " + "identity key does not match key in new cert from %s:%d", + ri->nickname, address, or_port); drop = 1; } } -- cgit v1.2.3