[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Use the real default exit policy, not reject *:*



Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv7461/src/or

Modified Files:
	config.c 
Log Message:
Use the real default exit policy, not reject *:*

Index: config.c
===================================================================
RCS file: /home/or/cvsroot/src/or/config.c,v
retrieving revision 1.171
retrieving revision 1.172
diff -u -d -r1.171 -r1.172
--- config.c	15 Oct 2004 05:09:48 -0000	1.171
+++ config.c	15 Oct 2004 19:18:08 -0000	1.172
@@ -320,7 +320,7 @@
 
 /** 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
 config_assign_defaults(or_options_t *options)
@@ -333,7 +333,7 @@
   smartlist_add(options->AllowUnverifiedNodes, "rendezvous");
 
   config_free_lines(options->ExitPolicy);
-  options->ExitPolicy = config_line_prepend(NULL, "ExitPolicy", "reject *:*");
+  options->ExitPolicy = NULL;
 
   return 0;
 }