mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Only warn about a down node once
svn:r6420
This commit is contained in:
parent
1efbe9d1d5
commit
5bce102cd2
@ -2297,7 +2297,7 @@ router_get_combined_status_by_nickname(const char *nickname,
|
|||||||
" but none is listed as named by the directory authorites. "
|
" but none is listed as named by the directory authorites. "
|
||||||
"Choosing one arbitrarily.");
|
"Choosing one arbitrarily.");
|
||||||
}
|
}
|
||||||
} else if (warn_if_unnamed && best) {
|
} else if (warn_if_unnamed && best && !best->name_lookup_warned) {
|
||||||
char fp[HEX_DIGEST_LEN+1];
|
char fp[HEX_DIGEST_LEN+1];
|
||||||
base16_encode(fp, sizeof(fp),
|
base16_encode(fp, sizeof(fp),
|
||||||
best->status.identity_digest, DIGEST_LEN);
|
best->status.identity_digest, DIGEST_LEN);
|
||||||
|
Loading…
Reference in New Issue
Block a user