aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
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