summaryrefslogtreecommitdiff
path: root/src/or/entrynodes.h
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2012-12-09 20:18:31 -0800
committerMike Perry <mikeperry-git@fscked.org>2012-12-09 20:24:22 -0800
commita90f165b83bc1603873308d7918e99057afdf72a (patch)
tree448a417e48f16ef608fc78a6284ad1cd90d21c22 /src/or/entrynodes.h
parent04866055e8dadc9eb5b09773b3bbdc81e3b4dbbf (diff)
downloadtor-a90f165b83bc1603873308d7918e99057afdf72a.tar.gz
tor-a90f165b83bc1603873308d7918e99057afdf72a.zip
Rename first_hop to circ_attempt.
Since we've generalized what we can count from (first or second hop), we should generalize the variable and constant naming too.
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r--src/or/entrynodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h
index c3f7b14134..b737dad5a5 100644
--- a/src/or/entrynodes.h
+++ b/src/or/entrynodes.h
@@ -48,7 +48,7 @@ typedef struct entry_guard_t {
time_t last_attempted; /**< 0 if we can connect to this guard, or the time
* at which we last failed to connect to it. */
- unsigned first_hops; /**< Number of first hops this guard has completed */
+ unsigned circ_attempts; /**< Number of circuits this guard has "attempted" */
unsigned circuit_successes; /**< Number of successfully built circuits using
* this guard as first hop. */
unsigned successful_circuits_closed; /**< Number of circuits that carried