소스 검색

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 년 전
부모
커밋
39d910e97b
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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),