]> git.meshlink.io Git - meshlink/blobdiff - src/protocol_auth.c
Pass appname in the ID string.
[meshlink] / src / protocol_auth.c
index 4ba3ebe4282dc1742942b2944a31309a233559da..b43003e3e75f282aee24206a186b6c2abdffa106 100644 (file)
@@ -151,7 +151,7 @@ bool send_id(meshlink_handle_t *mesh, connection_t *c) {
                        return false;
                }
 
-       return send_request(mesh, c, "%d %s %d.%d", ID, mesh->self->connection->name, mesh->self->connection->protocol_major, minor);
+       return send_request(mesh, c, "%d %s %d.%d %s", ID, mesh->self->connection->name, mesh->self->connection->protocol_major, minor, mesh->appname);
 }
 
 static bool finalize_invitation(meshlink_handle_t *mesh, connection_t *c, const void *data, uint16_t len) {