diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-08-20 15:59:31 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-08-20 15:59:31 +0000 |
commit | 9958dc8d5375b88cb6d07b168ff09a8d76acaa8e (patch) | |
tree | d8ccec6f38be2abb5f61dbe0b0f3e4439db2e826 /src/or/router.c | |
parent | d3b019a1df1b821cf4634ee289ec3d47d74c9a2a (diff) | |
download | tor-9958dc8d5375b88cb6d07b168ff09a8d76acaa8e.tar.gz tor-9958dc8d5375b88cb6d07b168ff09a8d76acaa8e.zip |
r14729@catbus: nickm | 2007-08-20 11:58:02 -0400
Trigger load and save of MTBF data.
svn:r11219
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index 57942fb93f..dc44ad48fc 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -752,7 +752,10 @@ authdir_mode_publishes_statuses(or_options_t *options) { if (authdir_mode_bridge(options)) return 0; - return authdir_mode_v1(options) || authdir_mode_v2(options); + return authdir_mode(options) && + (options->V1AuthoritativeDir || + options->V2AuthoritativeDir || + options->V3AuthoritativeDir); } /** Return true iff we are an authoritative directory server that * tests reachability of the descriptors it learns about. |