[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] re-enable dirport testing again



Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	router.c 
Log Message:
re-enable dirport testing again
(still need the other half, to notice when it has worked.)


Index: router.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/router.c,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -d -r1.210 -r1.211
--- router.c	29 Sep 2005 06:45:03 -0000	1.210
+++ router.c	29 Sep 2005 23:04:01 -0000	1.211
@@ -447,7 +447,9 @@
   }
 
   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);
   }
 }