Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mike Perry
Tor
Commits
99f79553
Commit
99f79553
authored
Oct 15, 2004
by
Nick Mathewson
⛰
Browse files
Use the real default exit policy, not reject *:*
svn:r2531
parent
fa9c1213
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/config.c
View file @
99f79553
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment