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 2739eae1d..ce5730053 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -2874,8 +2874,8 @@ router_differences_are_cosmetic(routerinfo_t *r1, routerinfo_t *r2)
strcasecmp(r1->nickname, r2->nickname) ||
r1->or_port != r2->or_port ||
r1->dir_port != r2->dir_port ||
- crypto_pk_cmp_keys(r1->onion_key, r2->onion_key) ||
- crypto_pk_cmp_keys(r1->identity_pkey, r2->onion_pkey) ||
+ crypto_pk_cmp_keys(r1->onion_pkey, r2->onion_pkey) ||
+ crypto_pk_cmp_keys(r1->identity_pkey, r2->identity_pkey) ||
strcasecmp(r1->platform, r2->platform) ||
strcasecmp(r1->contact_info, r2->contact_info) ||
r1->is_hibernating != r2->is_hibernating ||