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

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



commit f78fc8cfb4de9dac3d806c22fc577c8103df2420
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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"),

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits