mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Merge branch 'bug20488_029_squashed'
This commit is contained in:
commit
139799cdce
5
changes/ticket20488
Normal file
5
changes/ticket20488
Normal file
@ -0,0 +1,5 @@
|
||||
o Minor features (logging, UI):
|
||||
- Improve the warning message for specifying a relay by nickname.
|
||||
The previous message implied that nickname registration was still
|
||||
part of the Tor network design, which it isn't. Closes ticket 20488.
|
||||
|
@ -630,11 +630,9 @@ node_get_by_nickname,(const char *nickname, int warn_if_unnamed))
|
||||
if (! node->name_lookup_warned) {
|
||||
base16_encode(fp, sizeof(fp), node->identity, DIGEST_LEN);
|
||||
log_warn(LD_CONFIG,
|
||||
"You specified a server \"%s\" by name, but the directory "
|
||||
"authorities do not have any key registered for this "
|
||||
"nickname -- so it could be used by any server, not just "
|
||||
"the one you meant. "
|
||||
"To make sure you get the same server in the future, refer "
|
||||
"You specified a relay \"%s\" by name, but nicknames can be "
|
||||
"used by any relay, not just the one you meant. "
|
||||
"To make sure you get the same relay in the future, refer "
|
||||
"to it by key, as \"$%s\".", nickname, fp);
|
||||
node->name_lookup_warned = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user