aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2007-11-15 15:51:17 +0000
committerPeter Palfrader <peter@palfrader.org>2007-11-15 15:51:17 +0000
commit3e9369ebd9e6f2beded03a4ea0f0d8b114400707 (patch)
tree70162323b926b45088b19afd676826b33ecadc24
parent06a1e4124f1ef048bd10a5d296b9380b995f0de8 (diff)
downloadtor-3e9369ebd9e6f2beded03a4ea0f0d8b114400707.tar.gz
tor-3e9369ebd9e6f2beded03a4ea0f0d8b114400707.zip
Changing the ExitPolicyRejectPrivate setting should cause us to rebuild the
descriptor. svn:r12507
-rw-r--r--ChangeLog2
-rw-r--r--src/or/config.c1
2 files changed, 3 insertions, 0 deletions
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 ||