Przeglądaj źródła

Make PublishServerDescriptor default to 1, so the default doesn't
have to change as we invent new directory protocol versions.


svn:r12922

Roger Dingledine 18 lat temu
rodzic
commit
39d910e97b
2 zmienionych plików z 3 dodań i 1 usunięć
  1. 2 0
      ChangeLog
  2. 1 1
      src/or/config.c

+ 2 - 0
ChangeLog

@@ -15,6 +15,8 @@ Changes in version 0.2.0.14-alpha - 2007-12-??
   o Minor bugfixes:
     - Make the unit tests build again.
     - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
+    - Make PublishServerDescriptor default to 1, so the default doesn't
+      have to change as we invent new directory protocol versions.
 
 
 Changes in version 0.2.0.13-alpha - 2007-12-21

+ 1 - 1
src/or/config.c

@@ -241,7 +241,7 @@ static config_var_t _option_vars[] = {
   V(PidFile,                     STRING,   NULL),
   V(PreferTunneledDirConns,      BOOL,     "0"),
   V(ProtocolWarnings,            BOOL,     "0"),
-  V(PublishServerDescriptor,     CSV,      "v2,v3"),
+  V(PublishServerDescriptor,     CSV,      "1"),
   V(PublishHidServDescriptors,   BOOL,     "1"),
   V(ReachableAddresses,          LINELIST, NULL),
   V(ReachableDirAddresses,       LINELIST, NULL),