]> git.meshlink.io Git - meshlink/blobdiff - src/connection.h
Also renew SPTPS keys for meta-connections.
[meshlink] / src / connection.h
index 25e122d05f0726de19da9d04f665e7b11a975b31..5160422b346b9a01d054d7f828983dbe8421416a 100644 (file)
@@ -67,6 +67,7 @@ typedef struct connection_t {
        int tcplen;                     /* length of incoming TCPpacket */
        int allow_request;              /* defined if there's only one request possible */
        time_t last_ping_time;          /* last time we saw some activity from the other end or pinged them */
+       time_t last_key_renewal;        /* last time we renewed the SPTPS key */
 
        struct outgoing_t *outgoing;    /* used to keep track of outgoing connections */