diff options
author | Roger Dingledine <arma@torproject.org> | 2002-09-28 00:52:59 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2002-09-28 00:52:59 +0000 |
commit | 22285e6ff1190e99c509220f47adb66914b8642c (patch) | |
tree | 77559ddfb2b25bae9cae20184c4ef967d440d367 /src/or/config.c | |
parent | 6934eb9f1051c4d0e99130414a87b83c7df56349 (diff) | |
download | tor-22285e6ff1190e99c509220f47adb66914b8642c.tar tor-22285e6ff1190e99c509220f47adb66914b8642c.tar.gz |
cleanup
prkey is only fetched when it's needed
tor nodes who aren't dirservers now fetch directories and autoconnect
to new nodes listed in the directory
default role is a non-dirserver node
svn:r120
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c index 3f6dcd26a..8bcb5bea1 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -123,8 +123,7 @@ RETURN VALUE: 0 on success, non-zero on error options->DirRebuildPeriod = 600; options->DirFetchPeriod = 6000; // options->ReconnectPeriod = 6001; - options->Role = ROLE_OR_LISTEN | ROLE_OR_CONNECT_ALL | ROLE_OP_LISTEN | ROLE_AP_LISTEN | - ROLE_DIR_LISTEN | ROLE_DIR_SERVER; + options->Role = ROLE_OR_LISTEN | ROLE_OR_CONNECT_ALL | ROLE_OP_LISTEN | ROLE_AP_LISTEN; code = poptGetNextOpt(optCon); /* first we handle command-line args */ if ( code == -1 ) |