summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorMatthew Finkel <Matthew.Finkel@gmail.com>2015-05-25 21:24:26 +0000
committerNick Mathewson <nickm@torproject.org>2015-12-18 13:14:09 -0500
commitd49ad438a8ca0b6ae0b958e5160ca10f3f9e68a9 (patch)
tree17b2aa951a810b30b33ccbc514a58b9904d1262d /src/or/config.c
parent997f779a7f05540e5f564b4d121706c4a7069fb2 (diff)
downloadtor-d49ad438a8ca0b6ae0b958e5160ca10f3f9e68a9.tar.gz
tor-d49ad438a8ca0b6ae0b958e5160ca10f3f9e68a9.zip
Rebuild descriptor when DirCache is {dis,en}abled
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index f9cab9f670..ce7adbace6 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -4314,7 +4314,8 @@ options_transition_affects_descriptor(const or_options_t *old_options,
!opt_streq(old_options->MyFamily, new_options->MyFamily) ||
!opt_streq(old_options->AccountingStart, new_options->AccountingStart) ||
old_options->AccountingMax != new_options->AccountingMax ||
- public_server_mode(old_options) != public_server_mode(new_options))
+ public_server_mode(old_options) != public_server_mode(new_options) ||
+ old_options->DirCache != new_options->DirCache)
return 1;
return 0;