diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-02-12 23:39:24 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-02-12 23:39:24 +0000 |
commit | 95b828b6857454329193a9531539b04915148f23 (patch) | |
tree | be381d81a190ca84fd0f1d633c98f2867f69abcc /src/or/routerlist.c | |
parent | b16c544509045f09901499591e3c28763b1cdeb9 (diff) | |
download | tor-95b828b6857454329193a9531539b04915148f23.tar tor-95b828b6857454329193a9531539b04915148f23.tar.gz |
r11781@catbus: nickm | 2007-02-12 18:31:33 -0500
Discard any v1 directory info that is so old as to be useless. (Fixes bug 387)
svn:r9572
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 84c546020..023a9c226 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -2590,8 +2590,9 @@ networkstatus_list_clean(time_t now) } /* And now go through the directory cache for any cached untrusted - * networkstatuses. */ + * networkstatuses and other network info. */ dirserv_clear_old_networkstatuses(now - MAX_NETWORKSTATUS_AGE); + dirserv_clear_old_v1_info(now); } /** Helper for bsearching a list of routerstatus_t pointers.*/ |