Explorar o código

Changing the ExitPolicyRejectPrivate setting should cause us to rebuild the
descriptor.


svn:r12507

Peter Palfrader %!s(int64=16) %!d(string=hai) anos
pai
achega
3e9369ebd9
Modificáronse 2 ficheiros con 3 adicións e 0 borrados
  1. 2 0
      ChangeLog
  2. 1 0
      src/or/config.c

+ 2 - 0
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

+ 1 - 0
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 ||