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/peer.c | |
parent | 7ebbe05f46e1b8530a61dd144a4bf36a1c63a4a3 (diff) | |
download | fastd-316180d885042b7ea2f2f1f67c3175c0a1ad41fa.tar fastd-316180d885042b7ea2f2f1f67c3175c0a1ad41fa.zip |
status: add uptime and established times
Diffstat (limited to 'src/peer.c')
-rw-r--r-- | src/peer.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -843,6 +843,7 @@ void fastd_peer_set_established(fastd_peer_t *peer) { return; peer->state = STATE_ESTABLISHED; + peer->established = ctx.now; on_establish(peer); pr_info("connection with %P established.", peer); } |