diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-10-15 19:18:08 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-10-15 19:18:08 +0000 |
commit | 99f795537255cc71aa7cc9afe0216a2c382142dc (patch) | |
tree | 4e2e33997b312cf8807020411881f70e1d7ef5c4 /src | |
parent | fa9c121343a7f84692a9142758974ad22fe43072 (diff) | |
download | tor-99f795537255cc71aa7cc9afe0216a2c382142dc.tar.gz tor-99f795537255cc71aa7cc9afe0216a2c382142dc.zip |
Use the real default exit policy, not reject *:*
svn:r2531
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c index c071b413d3..a9f2ad8c09 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -320,7 +320,7 @@ add_default_trusted_dirservers(void) /** 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 @@ config_assign_defaults(or_options_t *options) smartlist_add(options->AllowUnverifiedNodes, "rendezvous"); config_free_lines(options->ExitPolicy); - options->ExitPolicy = config_line_prepend(NULL, "ExitPolicy", "reject *:*"); + options->ExitPolicy = NULL; return 0; } |