diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-06-20 09:02:24 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-06-20 09:02:24 -0400 |
commit | 456184c2a005d282df4bb1c92e0f3d80b52e99cb (patch) | |
tree | 7a9d71ba1d6fa3a6845557438b5673e9aa958e7a /src/or | |
parent | 922be84ca3eedddfcfd358a4728b7eb0405eb27b (diff) | |
download | tor-456184c2a005d282df4bb1c92e0f3d80b52e99cb.tar tor-456184c2a005d282df4bb1c92e0f3d80b52e99cb.tar.gz |
Authorities also advertise caches-extra-info
(Whoops, thought I had committed this before)
Improvement to 11683 fix. Based on patch from Karsten.
Diffstat (limited to 'src/or')
-rwxr-xr-x | src/or/router.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index 2cdbb0c8b..4fcd4a5b8 100755 --- a/src/or/router.c +++ b/src/or/router.c @@ -2371,7 +2371,8 @@ router_dump_router_to_string(routerinfo_t *router, has_extra_info_digest ? "extra-info-digest " : "", has_extra_info_digest ? extra_info_digest : "", has_extra_info_digest ? "\n" : "", - options->DownloadExtraInfo ? "caches-extra-info\n" : "", + (options->DownloadExtraInfo || options->V3AuthoritativeDir) ? + "caches-extra-info\n" : "", onion_pkey, identity_pkey, family_line, we_are_hibernating() ? "hibernating 1\n" : "", |