summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-08-24 08:01:47 +0000
committerRoger Dingledine <arma@torproject.org>2007-08-24 08:01:47 +0000
commit9bacf68851b3803a84e76d532aeb3f72d35273fd (patch)
tree2b80b7588c56583a88a745eec2110aff8036e887 /src/or/or.h
parentfe962c58d3e157bf716302d41158a4ff6dffc42f (diff)
downloadtor-9bacf68851b3803a84e76d532aeb3f72d35273fd.tar.gz
tor-9bacf68851b3803a84e76d532aeb3f72d35273fd.zip
cleanups on r11258
svn:r11263
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index c2f9952df2..fc67265503 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2111,6 +2111,11 @@ typedef struct {
/** A list of Entry Guard-related configuration lines. */
config_line_t *EntryGuards;
+ /** What algorithm did we use to select these guards? 0 if we didn't
+ * know about the GuardVersion concept when we picked them. We use
+ * this to expire and re-pick our guards if Tor knows about a newer
+ * version than the state file lists. */
+ int GuardVersion;
/** These fields hold information on the history of bandwidth usage for
* servers. The "Ends" fields hold the time when we last updated the