summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-10-10 23:11:53 +0000
committerRoger Dingledine <arma@torproject.org>2007-10-10 23:11:53 +0000
commitdd920354c2e23e80951c1e3a41be70d1945f9d53 (patch)
tree6f0a8e12847f1d221fc08565d54795eddc9a8edc /src/or/routerlist.c
parent919f421c6c75c1fc919365d5b91e3a5c888112aa (diff)
downloadtor-dd920354c2e23e80951c1e3a41be70d1945f9d53.tar.gz
tor-dd920354c2e23e80951c1e3a41be70d1945f9d53.zip
let bridge authorities write bridge descriptors to their
cached-descriptors* files. nick, did i get this right? svn:r11855
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index ee9ff7d8d4..4370c9f522 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -2988,8 +2988,6 @@ router_load_single_router(const char *s, uint8_t purpose, const char **msg)
return -1;
}
tor_assert(ri->purpose == purpose);
- if (ri->purpose != ROUTER_PURPOSE_GENERAL)
- ri->cache_info.do_not_cache = 1;
if (router_is_me(ri)) {
log_warn(LD_DIR, "Router's identity key matches mine; dropping.");
*msg = "Router's identity key matches mine.";
@@ -3071,9 +3069,6 @@ router_load_routers_from_string(const char *s, const char *eos,
}
}
- if (ri->purpose != ROUTER_PURPOSE_GENERAL) /* XXXX020 wrong. */
- ri->cache_info.do_not_cache = 1;
-
if (router_add_to_routerlist(ri, &msg, from_cache, !from_cache) >= 0) {
smartlist_add(changed, ri);
routerlist_descriptors_added(changed);