소스 검색

Merge remote-tracking branch 'origin/maint-0.2.4'

Nick Mathewson 13 년 전
부모
커밋
ea6d53e724
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/or/entrynodes.c

+ 2 - 2
src/or/entrynodes.c

@@ -463,8 +463,8 @@ static int32_t
 guards_get_lifetime(void)
 {
   const or_options_t *options = get_options();
-#define DFLT_GUARD_LIFETIME (86400 * 30)   /* One month. */
-#define MIN_GUARD_LIFETIME  (86400 * 60)   /* Two months. */
+#define DFLT_GUARD_LIFETIME (86400 * 60)   /* Two months. */
+#define MIN_GUARD_LIFETIME  (86400 * 30)   /* One months. */
 #define MAX_GUARD_LIFETIME  (86400 * 1826) /* Five years. */
 
   if (options->GuardLifetime >= 1) {