diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-15 16:35:34 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-15 16:35:34 +0200 |
commit | 316180d885042b7ea2f2f1f67c3175c0a1ad41fa (patch) | |
tree | 77f2fb0d5778455c2bed55be348cf06c3380a651 /src/fastd.c | |
parent | 7ebbe05f46e1b8530a61dd144a4bf36a1c63a4a3 (diff) | |
download | fastd-316180d885042b7ea2f2f1f67c3175c0a1ad41fa.tar fastd-316180d885042b7ea2f2f1f67c3175c0a1ad41fa.zip |
status: add uptime and established times
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 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(); |