From 316180d885042b7ea2f2f1f67c3175c0a1ad41fa Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 15 Sep 2014 16:35:34 +0200 Subject: status: add uptime and established times --- src/fastd.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/fastd.c') diff --git a/src/fastd.c b/src/fastd.c index fcefc6b..1bb4caa 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -478,6 +478,9 @@ static inline void init(int argc, char *argv[]) { pr_info("fastd " FASTD_VERSION " starting"); + fastd_update_time(); + ctx.started = ctx.now; + fastd_cap_init(); init_sockets(); -- cgit v1.2.3