From 456184c2a005d282df4bb1c92e0f3d80b52e99cb Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 20 Jun 2014 09:02:24 -0400 Subject: Authorities also advertise caches-extra-info (Whoops, thought I had committed this before) Improvement to 11683 fix. Based on patch from Karsten. --- src/or/router.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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" : "", -- cgit v1.2.3