aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-12-19 03:11:02 +0000
committerRoger Dingledine <arma@torproject.org>2007-12-19 03:11:02 +0000
commit07c7f9e9e70125aca74e22b5c0bd9546d1b6314a (patch)
tree5a67ef6fb4ccceebd44c8680e412860e842e2eeb /src/or/routerlist.c
parentd07122ba4741897967d110b10ed8ca0441cc6397 (diff)
downloadtor-07c7f9e9e70125aca74e22b5c0bd9546d1b6314a.tar.gz
tor-07c7f9e9e70125aca74e22b5c0bd9546d1b6314a.zip
When we were reading router descriptors from cache, we were ignoring
the annotations -- including reading in bridge-purpose descriptors as general-purpose descriptors. svn:r12867
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index a9a43c9ba3..156285a47f 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -2506,7 +2506,8 @@ routerlist_replace(routerlist_t *rl, routerinfo_t *ri_old,
#endif
}
-/** DOCDOC */
+/** DOCDOC -NM */
+/* XXX020 why are we dropping all router annotations here? -RD */
static routerinfo_t *
routerlist_reparse_old(routerlist_t *rl, signed_descriptor_t *sd)
{