aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-08-17 06:27:32 +0000
committerRoger Dingledine <arma@torproject.org>2004-08-17 06:27:32 +0000
commitee23b7a470c6bc0f5cf08ea2ca13d541626de6b6 (patch)
tree26f82c4502527df17a58b2faeda78827cba0a549 /src/or/config.c
parent590cd621f86ba5d454ed35ff411fab4ab48a6c61 (diff)
downloadtor-ee23b7a470c6bc0f5cf08ea2ca13d541626de6b6.tar
tor-ee23b7a470c6bc0f5cf08ea2ca13d541626de6b6.tar.gz
use unverified routers in the desired positions
svn:r2249
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index a4d0490df..de529aafc 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -825,6 +825,10 @@ int getconfig(int argc, char **argv, or_options_t *options) {
options->_AllowUnverified |= ALLOW_UNVERIFIED_EXIT;
else if (!strcasecmp(cp, "middle"))
options->_AllowUnverified |= ALLOW_UNVERIFIED_MIDDLE;
+ else if (!strcasecmp(cp, "introduction"))
+ options->_AllowUnverified |= ALLOW_UNVERIFIED_INTRODUCTION;
+ else if (!strcasecmp(cp, "rendezvous"))
+ options->_AllowUnverified |= ALLOW_UNVERIFIED_RENDEZVOUS;
else {
log(LOG_WARN, "Unrecognized value '%s' in AllowUnverifiedNodes",
cp);