diff options
author | Roger Dingledine <arma@torproject.org> | 2007-05-02 09:12:04 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-05-02 09:12:04 +0000 |
commit | 1b95bbdba60c857b679d8df4af27df0f8571c934 (patch) | |
tree | ccef7197f20bd2871cf6df97573aea5235fcfcc7 /src/or/config.c | |
parent | 87c19c0c491ab80e7b2eec5ad8075e89daee086a (diff) | |
download | tor-1b95bbdba60c857b679d8df4af27df0f8571c934.tar.gz tor-1b95bbdba60c857b679d8df4af27df0f8571c934.zip |
New config option V2AuthoritativeDirectory that all directory
authorities should set. This will let future authorities choose
not to serve V2 directory information.
Also, go through and revamp all the authdir_mode stuff so it tries
to do the right thing if you're an auth but not a V1 or V2 auth.
svn:r10092
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 998e34e009..a68ea5cbda 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -256,6 +256,7 @@ static config_var_t _option_vars[] = { VAR("UseEntryGuards", BOOL, UseEntryGuards, "1"), VAR("User", STRING, User, NULL), VAR("V1AuthoritativeDirectory",BOOL, V1AuthoritativeDir, "0"), + VAR("V2AuthoritativeDirectory",BOOL, V2AuthoritativeDir, "0"), VAR("VersioningAuthoritativeDirectory",BOOL,VersioningAuthoritativeDir, "0"), VAR("VirtualAddrNetwork", STRING, VirtualAddrNetwork, "127.192.0.0/10"), VAR("__AllDirActionsPrivate",BOOL, AllDirActionsPrivate, "0"), |