Merge remote-tracking branch 'tor-github/pr/1780/head'

This commit is contained in:
Nick Mathewson 2020-03-26 10:38:08 -04:00
commit e7290dc8c0

View File

@ -2922,7 +2922,7 @@ router_differences_are_cosmetic(const routerinfo_t *r1, const routerinfo_t *r2)
(r1->bandwidthburst != r2->bandwidthburst))
return 0;
/* Did more than 12 hours pass? */
/* Has enough time passed between the publication times? */
if (r1->cache_info.published_on + ROUTER_MAX_COSMETIC_TIME_DIFFERENCE
< r2->cache_info.published_on)
return 0;