diff options
author | Roger Dingledine <arma@torproject.org> | 2013-07-30 12:05:39 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2013-07-30 12:05:39 -0400 |
commit | ff6bb13c02b3bb217ac8d48d5a20953f1b188d46 (patch) | |
tree | 68e34a3c84b36c68bdaa149b1c3eb47aac6f8f9f /src/or/or.h | |
parent | 8d0fb3a4347aa543d2aa27f177446888fbdae125 (diff) | |
download | tor-ff6bb13c02b3bb217ac8d48d5a20953f1b188d46.tar.gz tor-ff6bb13c02b3bb217ac8d48d5a20953f1b188d46.zip |
NumDirectoryGuards now tracks NumEntryGuards by default
Now a user who changes only NumEntryGuards will get the behavior she
expects. Fixes bug 9354; bugfix on 0.2.4.8-alpha.
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index 0b8d057aaf..3dc96b9a9d 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3769,7 +3769,8 @@ typedef struct { int NumEntryGuards; /**< How many entry guards do we try to establish? */ int UseEntryGuardsAsDirGuards; /** Boolean: Do we try to get directory info * from a smallish number of fixed nodes? */ - int NumDirectoryGuards; /**< How many dir guards do we try to establish? */ + int NumDirectoryGuards; /**< How many dir guards do we try to establish? + * If 0, use value from NumEntryGuards. */ int RephistTrackTime; /**< How many seconds do we keep rephist info? */ int FastFirstHopPK; /**< If Tor believes it is safe, should we save a third * of our PK time by sending CREATE_FAST cells? */ |