Browse Source

re-enable dirport testing again
(still need the other half, to notice when it has worked.)


svn:r5152

Roger Dingledine 20 years ago
parent
commit
54a662a542
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/or/router.c

+ 3 - 1
src/or/router.c

@@ -447,7 +447,9 @@ consider_testing_reachability(void)
   }
 
   if (!check_whether_dirport_reachable()) {
-    directory_initiate_command_router(me, DIR_PURPOSE_FETCH_DIR, 1, NULL, NULL, 0);
+    /* ask myself, via tor, for my server descriptor. */
+    directory_initiate_command_router(me, DIR_PURPOSE_FETCH_SERVERDESC,
+                                      1, "authority", NULL, 0);
   }
 }