summaryrefslogtreecommitdiff
path: root/src/or/nodelist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-07-05 13:32:14 -0400
committerNick Mathewson <nickm@torproject.org>2017-07-06 09:28:31 -0400
commit41fe94ef15838d809552b239b04c2aa442e1c775 (patch)
treedcc5a56dbbd5015a9295cf933db601c153673f2e /src/or/nodelist.c
parentbb97f680e74170673246b3de32e847ade46840f2 (diff)
downloadtor-41fe94ef15838d809552b239b04c2aa442e1c775.tar.gz
tor-41fe94ef15838d809552b239b04c2aa442e1c775.zip
Improve warning message to stop implying nickname reg is a thing.
Closing ticket 20488.
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r--src/or/nodelist.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index 070e2e9e0d..851a84cbcc 100644
--- a/src/or/nodelist.c
+++ b/src/or/nodelist.c
@@ -602,11 +602,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;
}