]> git.meshlink.io Git - meshlink/blobdiff - src/protocol_auth.c
Also renew SPTPS keys for meta-connections.
[meshlink] / src / protocol_auth.c
index 5632c5a216d23c044e07d820da8661fc4b501f8e..c17d9e8214b9b196c30b4725c2a456e204142a1e 100644 (file)
@@ -365,6 +365,7 @@ bool ack_h(meshlink_handle_t *mesh, connection_t *c, const char *request) {
        /* Activate this connection */
 
        c->allow_request = ALL;
+       c->last_key_renewal = mesh->loop.now.tv_sec;
        c->status.active = true;
 
        logger(mesh, MESHLINK_INFO, "Connection with %s activated", c->name);