aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index cbce80be5..bda3a3b50 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -4856,8 +4856,8 @@ routerinfo_incompatible_with_extrainfo(routerinfo_t *ri, extrainfo_t *ei)
if (ei->bad_sig)
return 1;
- /* XXX020 below we should explain why this is strcmp and not strcasecmp,
- * since it differs from how we usually compare nicknames. -RD */
+ /* The nickname must match exactly to have been generated at the same time
+ * by the same rotuer. */
if (strcmp(ri->nickname, ei->nickname) ||
memcmp(ri->cache_info.identity_digest, ei->cache_info.identity_digest,
DIGEST_LEN))