]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
note a design flaw that i should fix somehow
authorRoger Dingledine <arma@torproject.org>
Thu, 11 Oct 2007 22:16:05 +0000 (22:16 +0000)
committerRoger Dingledine <arma@torproject.org>
Thu, 11 Oct 2007 22:16:05 +0000 (22:16 +0000)
svn:r11889

src/or/directory.c

index 93f7be028ea89a94c2d34990acb30e3c17418f99..e601a1ca36fbd91b6e752bf1552cfa283eb68424 100644 (file)
@@ -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,