diff options
author | Roger Dingledine <arma@torproject.org> | 2005-06-09 10:21:55 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-06-09 10:21:55 +0000 |
commit | 15f937c95ee0ce8649bd0cce998b48bfbb2b6461 (patch) | |
tree | 6ef75d6e3662be959f48f9360bc85deee7aae185 /src | |
parent | e8a9a713e624d36040ee4448d49665df1f999263 (diff) | |
download | tor-15f937c95ee0ce8649bd0cce998b48bfbb2b6461.tar.gz tor-15f937c95ee0ce8649bd0cce998b48bfbb2b6461.zip |
when a dirserver gets a mismatched fingerprint, log the expected
fp and the received fp
svn:r4372
Diffstat (limited to 'src')
-rw-r--r-- | src/or/dirserv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 5d7bed8a2e..94d18ae6d1 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -186,7 +186,8 @@ dirserv_router_fingerprint_is_known(const routerinfo_t *router) log_fn(LOG_DEBUG,"good fingerprint for '%s'",router->nickname); return 1; /* Right fingerprint. */ } else { - log_fn(LOG_WARN,"mismatched fingerprint for '%s'",router->nickname); + log_fn(LOG_WARN,"mismatched fingerprint for '%s': expected '%s' got '%s'", + router->nickname, ent->fingerprint, fp); return -1; /* Wrong fingerprint. */ } } |