aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-10-11 22:16:05 +0000
committerRoger Dingledine <arma@torproject.org>2007-10-11 22:16:05 +0000
commit3d9bf8c912e2af37f1ea3ab8e4a40767a562a72a (patch)
tree910b66ec6fb8de7969de087ab44273f4674bc485 /src/or
parentb597ce2ae0a92d0648664ce806444226041eb6c1 (diff)
downloadtor-3d9bf8c912e2af37f1ea3ab8e4a40767a562a72a.tar
tor-3d9bf8c912e2af37f1ea3ab8e4a40767a562a72a.tar.gz
note a design flaw that i should fix somehow
svn:r11889
Diffstat (limited to 'src/or')
-rw-r--r--src/or/directory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 93f7be028..e601a1ca3 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,