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

[or-cvs] make it clearer which elements of routerinfo_t are for reac...



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

Modified Files:
	or.h 
Log Message:
make it clearer which elements of routerinfo_t are for reachability
testing


Index: or.h
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/or.h,v
retrieving revision 1.654
retrieving revision 1.655
diff -u -d -r1.654 -r1.655
--- or.h	26 Aug 2005 15:34:53 -0000	1.654
+++ or.h	26 Aug 2005 20:22:32 -0000	1.655
@@ -739,14 +739,17 @@
   /* local info */
   int is_running; /**< As far as we know, is this OR currently running? */
   time_t status_set_at; /**< When did we last update is_running? */
-  time_t last_reachable; /**< When was the last time we could reach this OR? */
-  time_t testing_since; /**< When did we start testing reachability for this OR? */
   int is_verified; /**< Has a trusted dirserver validated this OR? */
 
   smartlist_t *declared_family; /**< Nicknames of router which this router
                                  * claims are its family. */
 
   char *contact_info; /**< Declared contact info for this router. */
+
+  /* The below items are used only by authdirservers right now for
+   * reachability testing. */
+  time_t last_reachable; /**< When was the last time we could reach this OR? */
+  time_t testing_since; /**< When did we start testing reachability for this OR? */
 } routerinfo_t;
 
 /** Contents of a running-routers list */