Преглед на файлове

Use the real default exit policy, not reject *:*

svn:r2531
Nick Mathewson преди 21 години
родител
ревизия
99f7955372
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/or/config.c

+ 2 - 2
src/or/config.c

@@ -320,7 +320,7 @@ add_default_trusted_dirservers(void)
 
 
 /** Set <b>options</b> to a reasonable default.
 /** Set <b>options</b> to a reasonable default.
  *
  *
- * Call this function when we can't find any torrc config file.
+ * Call this function before we parse the torrc file.
  */
  */
 static int
 static int
 config_assign_defaults(or_options_t *options)
 config_assign_defaults(or_options_t *options)
@@ -333,7 +333,7 @@ config_assign_defaults(or_options_t *options)
   smartlist_add(options->AllowUnverifiedNodes, "rendezvous");
   smartlist_add(options->AllowUnverifiedNodes, "rendezvous");
 
 
   config_free_lines(options->ExitPolicy);
   config_free_lines(options->ExitPolicy);
-  options->ExitPolicy = config_line_prepend(NULL, "ExitPolicy", "reject *:*");
+  options->ExitPolicy = NULL;
 
 
   return 0;
   return 0;
 }
 }