diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-22 14:22:54 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-30 14:44:43 -0500 |
commit | 858c8f5593e573cdf36c360141cf6e96d91d6474 (patch) | |
tree | 1ce761406d81b6575828b8999f72aa17887c58ff /src/or/statefile.c | |
parent | dbbaa515183e250e20c40fa7b4c00df9487058fa (diff) | |
download | tor-858c8f5593e573cdf36c360141cf6e96d91d6474.tar.gz tor-858c8f5593e573cdf36c360141cf6e96d91d6474.zip |
Make new prop271 entry guards persistent
To do this, it makes sense to treat legacy guards as a separate
guard_selection_t *, and handle them separately. This also means we
add support here for having multiple guard selections.
Note that we don't persist pathbias information yet; that will take
some refactoring.
Diffstat (limited to 'src/or/statefile.c')
-rw-r--r-- | src/or/statefile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/statefile.c b/src/or/statefile.c index 8fa4324b25..a95ba8533c 100644 --- a/src/or/statefile.c +++ b/src/or/statefile.c @@ -102,6 +102,8 @@ static config_var_t state_vars_[] = { V(BWHistoryDirWriteValues, CSV, ""), V(BWHistoryDirWriteMaxima, CSV, ""), + V(Guard, LINELIST, NULL), + V(TorVersion, STRING, NULL), V(LastRotatedOnionKey, ISOTIME, NULL), |