aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 2705ba5a1..1304c469f 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1080,6 +1080,9 @@ options_act_reversible(const or_options_t *old_options, char **msg)
if (parse_client_ports(options, 0, msg, &n_client_ports))
return -1;
+ /* Set the hibernation state appropriately.*/
+ consider_hibernation(time(NULL));
+
/* Launch the listeners. (We do this before we setuid, so we can bind to
* ports under 1024.) We don't want to rebind if we're hibernating. */
if (!we_are_hibernating()) {