when a dirserver gets a mismatched fingerprint, log the expected

fp and the received fp


svn:r4372
This commit is contained in:
Roger Dingledine
2005-06-09 10:21:55 +00:00
parent e8a9a713e6
commit 15f937c95e
+2 -1
View File
@@ -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. */
}
}