summaryrefslogtreecommitdiff
path: root/src/or/bridges.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/bridges.c')
-rw-r--r--src/or/bridges.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/bridges.c b/src/or/bridges.c
index 508c77fc9e..2170cc668a 100644
--- a/src/or/bridges.c
+++ b/src/or/bridges.c
@@ -724,6 +724,7 @@ learned_bridge_descriptor(routerinfo_t *ri, int from_cache)
from_cache ? "cached" : "fresh", router_describe(ri));
/* set entry->made_contact so if it goes down we don't drop it from
* our entry node list */
+ // XXXX prop271 use new interface here when we hit bridges?
entry_guard_register_connect_status(ri->cache_info.identity_digest,
1, 0, now);
if (first) {
@@ -743,6 +744,7 @@ int
any_bridge_descriptors_known(void)
{
tor_assert(get_options()->UseBridges);
+ // XXXX prop271 this needs to get fixed. -- bridges
return choose_random_entry(NULL) != NULL;
}