]> git.meshlink.io Git - meshlink/blobdiff - src/protocol_auth.c
Let a server explicitly send a notification when the invitation protocol succeeded.
[meshlink] / src / protocol_auth.c
index f8a3cc3b3d2d3e5464263567189aab2b3beb8768..1623e75e4992307f0b460e78f66a8f870301c689 100644 (file)
@@ -174,6 +174,7 @@ static bool finalize_invitation(connection_t *c, const char *data, uint16_t len)
        fclose(f);
 
        logger(DEBUG_CONNECTIONS, LOG_INFO, "Key succesfully received from %s (%s)", c->name, c->hostname);
+       sptps_send_record(&c->sptps, 2, data, 0);
        return true;
 }