aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2018-06-24 18:14:24 -0400
committerRoger Dingledine <arma@torproject.org>2018-06-24 18:14:24 -0400
commit04b350b476579674679ccf2823d57be8606be559 (patch)
tree484969880f38628fde7adcb73a1eb9ef6d2d1dd7 /src/or
parent73ae92dc52f94e36bc58cb0c00f615a575d27da8 (diff)
downloadtor-04b350b476579674679ccf2823d57be8606be559.tar.gz
tor-04b350b476579674679ccf2823d57be8606be559.zip
better log line for debugging #26485
Diffstat (limited to 'src/or')
-rw-r--r--src/or/networkstatus.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index e6eaffffad..b12846197c 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -606,8 +606,11 @@ networkstatus_check_consensus_signature(networkstatus_t *consensus,
char *tmp = smartlist_join_strings(list_good, " ", 0, NULL);
smartlist_add_asprintf(sl,
"A consensus needs %d good signatures from recognized "
- "authorities for us to accept it. This one has %d (%s).",
- n_required, n_good, tmp);
+ "authorities for us to accept it. "
+ "This %s one has %d (%s).",
+ n_required,
+ networkstatus_get_flavor_name(consensus->flavor),
+ n_good, tmp);
tor_free(tmp);
if (n_no_signature) {
tmp = smartlist_join_strings(list_no_signature, " ", 0, NULL);