[tor-commits] [tor/master] Rebuild descriptor when DirCache is {dis, en}abled
nickm at torproject.org
nickm at torproject.org
Mon Dec 21 12:30:55 UTC 2015
commit d49ad438a8ca0b6ae0b958e5160ca10f3f9e68a9
Author: Matthew Finkel <Matthew.Finkel at gmail.com>
Date: Mon May 25 21:24:26 2015 +0000
Rebuild descriptor when DirCache is {dis,en}abled
---
src/or/config.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/or/config.c b/src/or/config.c
index f9cab9f..ce7adba 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;
More information about the tor-commits
mailing list