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/connection_or.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/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 202f62b742..49f9fb6060 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -676,7 +676,7 @@ connection_or_check_valid_handshake(or_connection_t *conn, int started_here, END_OR_CONN_REASON_OR_IDENTITY); as_advertised = 0; } - if (authdir_mode(options)) { + if (authdir_mode_handles_descs(options)) { /* We initiated this connection to address:port. Drop all routers * with the same address:port and a different key. */ |