[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r12665: weasel wanted us to log the source of v3 votes we don't like (tor/trunk/src/or)



Author: arma
Date: 2007-12-04 10:54:14 -0500 (Tue, 04 Dec 2007)
New Revision: 12665

Modified:
   tor/trunk/src/or/dirvote.c
Log:
weasel wanted us to log the source of v3 votes we don't like


Modified: tor/trunk/src/or/dirvote.c
===================================================================
--- tor/trunk/src/or/dirvote.c	2007-12-04 15:43:45 UTC (rev 12664)
+++ tor/trunk/src/or/dirvote.c	2007-12-04 15:54:14 UTC (rev 12665)
@@ -1521,8 +1521,10 @@
   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";