]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Give DirAllowPrivateAddress an explicit default
authorNick Mathewson <nickm@torproject.org>
Fri, 2 Dec 2011 21:04:18 +0000 (16:04 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 2 Dec 2011 21:04:18 +0000 (16:04 -0500)
By convention, we say whether each bool's default is 0 or 1

Fixes 4536; found by "troll_un"

src/or/config.c

index 525ff16b78522b152cfe653c592dd27005315ecc..073b44d5e65893f1fd1c0640900f801a3b85dedc 100644 (file)
@@ -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"),