aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorMatthew Finkel <Matthew.Finkel@gmail.com>2015-05-25 22:18:31 +0000
committerNick Mathewson <nickm@torproject.org>2015-12-18 13:14:09 -0500
commit3007de8efc962f21aa3649463b0d502f3747f687 (patch)
tree9988971c690c3809dbd0349abd1ba58510fba0a0 /src/or
parentd49ad438a8ca0b6ae0b958e5160ca10f3f9e68a9 (diff)
downloadtor-3007de8efc962f21aa3649463b0d502f3747f687.tar.gz
tor-3007de8efc962f21aa3649463b0d502f3747f687.zip
{dis,en}abling DirCache is a semantic change
Diffstat (limited to 'src/or')
-rw-r--r--src/or/routerlist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index af6fd747bf..227046b7b1 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -4904,7 +4904,8 @@ router_differences_are_cosmetic(const routerinfo_t *r1, const routerinfo_t *r2)
(r1->contact_info && r2->contact_info &&
strcasecmp(r1->contact_info, r2->contact_info)) ||
r1->is_hibernating != r2->is_hibernating ||
- cmp_addr_policies(r1->exit_policy, r2->exit_policy))
+ cmp_addr_policies(r1->exit_policy, r2->exit_policy) ||
+ r1->dir_cache != r2->dir_cache)
return 0;
if ((r1->declared_family == NULL) != (r2->declared_family == NULL))
return 0;