diff options
author | Steven Engler <sengler@uwaterloo.ca> | 2020-03-09 10:13:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-09 10:13:36 -0400 |
commit | 4b964ef5b200b90e2e4d5005f732668862c9131d (patch) | |
tree | b2e2a11ce2e62a80ec0486302a7e28c978771837 /src/feature/nodelist/routerlist.c | |
parent | 8096f3b2549971e120fa3869ea9e458fdad313d5 (diff) | |
download | tor-4b964ef5b200b90e2e4d5005f732668862c9131d.tar.gz tor-4b964ef5b200b90e2e4d5005f732668862c9131d.zip |
Update comment in router_differences_are_cosmetic()
Descriptor differences are cosmetic if 2 hours has passed,
not 12 hours (see ticket 33573).
Diffstat (limited to 'src/feature/nodelist/routerlist.c')
-rw-r--r-- | src/feature/nodelist/routerlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/nodelist/routerlist.c b/src/feature/nodelist/routerlist.c index f4e1215a40..80c1aa6893 100644 --- a/src/feature/nodelist/routerlist.c +++ b/src/feature/nodelist/routerlist.c @@ -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; |