From 3e9369ebd9e6f2beded03a4ea0f0d8b114400707 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 15 Nov 2007 15:51:17 +0000 Subject: [PATCH] Changing the ExitPolicyRejectPrivate setting should cause us to rebuild the descriptor. svn:r12507 --- ChangeLog | 2 ++ src/or/config.c | 1 + 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 60815ed218..c1e1b67ac5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,8 @@ Changes in version 0.2.0.12-alpha - 2007-11-?? operations. (Bug spotted by Karsten) - Fix a small memory leak whenever we decide against using a newly picked entry guard. Reported by Mike Perry. + - Changing the ExitPolicyRejectPrivate setting should cause us to + rebuild the descriptor. o Minor features: - When we negotiate a v2 OR connection (not yet implemented), accept diff --git a/src/or/config.c b/src/or/config.c index eec4ca4d0a..e39017d7a3 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -3189,6 +3189,7 @@ options_transition_affects_descriptor(or_options_t *old_options, !opt_streq(old_options->Nickname,new_options->Nickname) || !opt_streq(old_options->Address,new_options->Address) || !config_lines_eq(old_options->ExitPolicy,new_options->ExitPolicy) || + old_options->ExitPolicyRejectPrivate != new_options->ExitPolicyRejectPrivate || old_options->ORPort != new_options->ORPort || old_options->DirPort != new_options->DirPort || old_options->ClientOnly != new_options->ClientOnly ||