summaryrefslogtreecommitdiff
path: root/src/app/config/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-12-04 12:07:23 -0500
committerNick Mathewson <nickm@torproject.org>2018-12-04 12:08:24 -0500
commit4f558843151f0c49c077d3d9a1cd8a187904a024 (patch)
tree2dd9994fd527fc219d099d491dba2e4491009362 /src/app/config/config.c
parentb25b8150c282c28d3fa23330891fda7adbbfe584 (diff)
downloadtor-4f558843151f0c49c077d3d9a1cd8a187904a024.tar.gz
tor-4f558843151f0c49c077d3d9a1cd8a187904a024.zip
Add an option to start tor in dormant mode for the first time.
Diffstat (limited to 'src/app/config/config.c')
-rw-r--r--src/app/config/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c
index d40e362b32..dcefa3d6a4 100644
--- a/src/app/config/config.c
+++ b/src/app/config/config.c
@@ -392,6 +392,7 @@ static config_var_t option_vars_[] = {
OBSOLETE("DNSListenAddress"),
V(DormantClientTimeout, INTERVAL, "24 hours"),
V(DormantTimeoutDisabledByIdleStreams, BOOL, "1"),
+ V(DormantOnFirstStartup, BOOL, "0"),
/* DoS circuit creation options. */
V(DoSCircuitCreationEnabled, AUTOBOOL, "auto"),
V(DoSCircuitCreationMinConnections, UINT, "0"),