summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-10-04 19:52:58 +0000
committerNick Mathewson <nickm@torproject.org>2005-10-04 19:52:58 +0000
commite4a6a03249967f66779565aa705ddad09647e2a9 (patch)
treeb9866a4b8660c7b86b5a44728b5a786e13503176 /src/or/config.c
parent88c37f2d24b66d467dd676d1ab4439217d8598a6 (diff)
downloadtor-e4a6a03249967f66779565aa705ddad09647e2a9.tar.gz
tor-e4a6a03249967f66779565aa705ddad09647e2a9.zip
switch semantics of authdirinvalid/reject
svn:r5182
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 9b3b8feb3d..05cf6f1f9e 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2083,12 +2083,12 @@ options_validate(or_options_t *options)
result = -1;
}
if (config_parse_addr_policy(options->AuthDirReject, &addr_policy,
- ADDR_POLICY_ACCEPT)) {
+ ADDR_POLICY_REJECT)) {
log_fn(LOG_WARN, "Error in ReachableAddresses entry.");
result = -1;
}
if (config_parse_addr_policy(options->AuthDirInvalid, &addr_policy,
- ADDR_POLICY_ACCEPT)) {
+ ADDR_POLICY_REJECT)) {
log_fn(LOG_WARN, "Error in ReachableAddresses entry.");
result = -1;
}