aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-08-26 20:22:32 +0000
committerRoger Dingledine <arma@torproject.org>2005-08-26 20:22:32 +0000
commit237f58524f4c36293ad1df1b5d255e4c7d2d2922 (patch)
tree734876b8540d6be69863dbca58d7cf62821289ab /src
parentf3bccdce731251c5ebc9a1b85f5866f9c55efab8 (diff)
downloadtor-237f58524f4c36293ad1df1b5d255e4c7d2d2922.tar
tor-237f58524f4c36293ad1df1b5d255e4c7d2d2922.tar.gz
make it clearer which elements of routerinfo_t are for reachability
testing svn:r4852
Diffstat (limited to 'src')
-rw-r--r--src/or/or.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 54d572cf3..405881a15 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -739,14 +739,17 @@ typedef struct {
/* 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 */