[tor-commits] [tor/master] Give DirAllowPrivateAddress an explicit default

nickm at torproject.org nickm at torproject.org
Fri Dec 2 21:02:09 UTC 2011


commit f78fc8cfb4de9dac3d806c22fc577c8103df2420
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Dec 2 16:04:18 2011 -0500

    Give DirAllowPrivateAddress an explicit default
    
    By convention, we say whether each bool's default is 0 or 1
    
    Fixes 4536; found by "troll_un"
---
 src/or/config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/config.c b/src/or/config.c
index 525ff16..073b44d 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -232,7 +232,7 @@ static config_var_t _option_vars[] = {
   V(DataDirectory,               FILENAME, NULL),
   OBSOLETE("DebugLogFile"),
   V(DisableNetwork,              BOOL,     "0"),
-  V(DirAllowPrivateAddresses,    BOOL,     NULL),
+  V(DirAllowPrivateAddresses,    BOOL,     "0"),
   V(TestingAuthDirTimeToLearnReachability, INTERVAL, "30 minutes"),
   V(DirListenAddress,            LINELIST, NULL),
   OBSOLETE("DirFetchPeriod"),



More information about the tor-commits mailing list