aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-12-04 15:54:14 +0000
committerRoger Dingledine <arma@torproject.org>2007-12-04 15:54:14 +0000
commit0000c7e6e947beedac65285150a73314773f4e6a (patch)
tree8bf1c9d673a0525f5ca7061d291a3558992d7069 /src
parent9f25d3b0a6844dbbff89ef86baf6966bfd86db62 (diff)
downloadtor-0000c7e6e947beedac65285150a73314773f4e6a.tar
tor-0000c7e6e947beedac65285150a73314773f4e6a.tar.gz
weasel wanted us to log the source of v3 votes we don't like
svn:r12665
Diffstat (limited to 'src')
-rw-r--r--src/or/dirvote.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index e75986a3c..83ba7a1a5 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -1521,8 +1521,10 @@ dirvote_add_vote(const char *vote_body, const char **msg_out, int *status_out)
ds = trusteddirserver_get_by_v3_auth_digest(vi->identity_digest);
if (!ds) {
char *keys = list_v3_auth_ids();
- log_warn(LD_DIR, "Got a vote from an authority with authority key ID %s. "
+ log_warn(LD_DIR, "Got a vote from an authority (nickname %s, address %s) "
+ "with authority key ID %s. "
"This key ID is not recognized. Known v3 key IDs are: %s",
+ vi->nickname, vi->address,
hex_str(vi->identity_digest, DIGEST_LEN), keys);
tor_free(keys);
*msg_out = "Vote not from a recognized v3 authority";