diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 2 | ||||
-rw-r--r-- | src/or/or.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index a0d2eaab9..09fbdaa68 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -244,6 +244,8 @@ static config_var_t _state_vars[] = { VAR("BWHistoryWriteInterval", UINT, BWHistoryWriteInterval, NULL), VAR("BWHistoryWriteValues", CSV, BWHistoryWriteValues, NULL), + VAR("TorVersion", STRING, TorVersion, NULL), + VAR("LastWritten", ISOTIME, LastWritten, NULL), { NULL, CONFIG_TYPE_OBSOLETE, 0, NULL, NULL } diff --git a/src/or/or.h b/src/or/or.h index ed0f17801..9d118f94d 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1379,6 +1379,8 @@ typedef struct { time_t BWHistoryWriteEnds; int BWHistoryWriteInterval; smartlist_t *BWHistoryWriteValues; + + char *TorVersion; } or_state_t; #define MAX_SOCKS_REPLY_LEN 1024 |