]> git.meshlink.io Git - meshlink/blobdiff - src/net_setup.c
dclass support within the edge protocol
[meshlink] / src / net_setup.c
index 190eafa3b53303402b764ef75143c9a0b80c53c4..a7ffa828e8c7bded66ad0556f70a3ffb999aade7 100644 (file)
@@ -276,6 +276,7 @@ bool setup_myself(meshlink_handle_t *mesh) {
        mesh->self = new_node();
        mesh->self->connection = new_connection();
        mesh->self->name = name;
+       mesh->self->dclass = mesh->dclass;
        mesh->self->connection->name = xstrdup(name);
        read_host_config(mesh, mesh->config, name);