diff options
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/dirserv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 0646c6fb9..579dc62de 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -2723,6 +2723,8 @@ dirserv_remove_old_statuses(smartlist_t *fps, time_t cutoff) cached_dir_t *d; if (router_digest_is_me(digest) && the_v2_networkstatus) d = the_v2_networkstatus; + else if (tor_digest_is_zero(digest) && cached_v3_networkstatus) + d = cached_v3_networkstatus; else d = digestmap_get(cached_v2_networkstatus, digest); if (d && d->published <= cutoff) { |