mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
when a dirserver gets a mismatched fingerprint, log the expected
fp and the received fp svn:r4372
This commit is contained in:
+2
-1
@@ -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. */
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user