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/peer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/peer.h') diff --git a/src/peer.h b/src/peer.h index 8c7ef88..3eed071 100644 --- a/src/peer.h +++ b/src/peer.h @@ -89,6 +89,7 @@ struct fastd_peer { fastd_timeout_t last_handshake_response_timeout; /**< All handshakes from last_handshake_address will be ignored until this timeout has occured */ fastd_peer_address_t last_handshake_response_address; /**< The address the last handshake was received from */ + int64_t established; /**< The time this peer connection has been established */ fastd_timeout_t establish_handshake_timeout; /**< A timeout during which all handshakes for this peer will be ignored after a new connection has been established */ const char *config_source_dir; /**< The directory this peer's configuration was loaded from */ -- cgit v1.2.3