diff options
author | Roger Dingledine <arma@torproject.org> | 2004-07-21 18:53:56 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-07-21 18:53:56 +0000 |
commit | ce7fcd110ca0a7acb2d8473fddb51ae42a9aeae0 (patch) | |
tree | 68f53f1292a2cd2f1deb6d91867a8dac3e1c3a1c /src/or/router.c | |
parent | 1e62d24ddc3e28fed81739f0184fe8cf3a2ee51e (diff) | |
download | tor-ce7fcd110ca0a7acb2d8473fddb51ae42a9aeae0.tar tor-ce7fcd110ca0a7acb2d8473fddb51ae42a9aeae0.tar.gz |
solve the authdirserver initialization precedence problem
svn:r2085
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c index c0f3cbce6..f28778f0e 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -509,8 +509,7 @@ int router_rebuild_descriptor(void) { ri->bandwidthburst = options.BandwidthBurst; ri->exit_policy = NULL; /* zero it out first */ router_add_exit_policy_from_config(ri); - ri->is_trusted_dir = (ri->dir_port && - router_digest_is_trusted_dir(ri->identity_digest)); + ri->is_trusted_dir = authdir_mode(); if (desc_routerinfo) routerinfo_free(desc_routerinfo); desc_routerinfo = ri; |