]> git.meshlink.io Git - meshlink/blobdiff - src/protocol_key.c
Reset UTCP timers when learning a node's public key.
[meshlink] / src / protocol_key.c
index 2a4dbe02d1d5c4c24252a9dddd825872ed983a04..836737aa7e284e2c11886707d02088ad5a1846a9 100644 (file)
@@ -145,6 +145,9 @@ static bool req_key_ext_h(meshlink_handle_t *mesh, connection_t *c, const char *
                        }
                }
 
+               /* Also reset any UTCP timers */
+               utcp_reset_timers(from->utcp);
+
                return true;
        }