diff options
Diffstat (limited to 'src/fastd.c')
-rw-r--r-- | src/fastd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fastd.c b/src/fastd.c index 7c702c1..6ce10fc 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -769,6 +769,9 @@ int main(int argc, char *argv[]) { update_time(&ctx); + conf.long_ago = ctx.now; + conf.long_ago.tv_sec -= 86400; /* 24h in the past */ + ctx.next_keepalives = ctx.now; ctx.next_keepalives.tv_sec += conf.keepalive_interval; |