From 3d9bf8c912e2af37f1ea3ab8e4a40767a562a72a Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 11 Oct 2007 22:16:05 +0000 Subject: [PATCH] note a design flaw that i should fix somehow svn:r11889 --- src/or/directory.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/or/directory.c b/src/or/directory.c index 93f7be028e..e601a1ca36 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -315,6 +315,8 @@ directory_get_from_dirserver(uint8_t dir_purpose, uint8_t router_purpose, if (!get_via_tor) { if (options->UseBridges && type != BRIDGE_AUTHORITY) { /* want to ask a running bridge for which we have a descriptor. */ + /* XXX020 we assume that all of our bridges can answer any + * possible directory question. This won't be true forever. -RD */ routerinfo_t *ri = choose_random_entry(NULL); if (ri) { directory_initiate_command(ri->address, ri->addr, -- 2.11.4.GIT