[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r12507: Changing the ExitPolicyRejectPrivate setting should cause us (in tor/trunk: . src/or)



Author: weasel
Date: 2007-11-15 10:51:17 -0500 (Thu, 15 Nov 2007)
New Revision: 12507

Modified:
   tor/trunk/ChangeLog
   tor/trunk/src/or/config.c
Log:
Changing the ExitPolicyRejectPrivate setting should cause us to rebuild the
descriptor.


Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog	2007-11-15 11:14:08 UTC (rev 12506)
+++ tor/trunk/ChangeLog	2007-11-15 15:51:17 UTC (rev 12507)
@@ -8,6 +8,8 @@
       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

Modified: tor/trunk/src/or/config.c
===================================================================
--- tor/trunk/src/or/config.c	2007-11-15 11:14:08 UTC (rev 12506)
+++ tor/trunk/src/or/config.c	2007-11-15 15:51:17 UTC (rev 12507)
@@ -3189,6 +3189,7 @@
       !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 ||