]> git.meshlink.io Git - meshlink/blobdiff - src/net_setup.c
Get rid of ->hostname.
[meshlink] / src / net_setup.c
index acdea368b7e67a9ea743b7d5daa531add38199e9..45e20d008955046982670547d0ebc8f34c7ae5ec 100644 (file)
@@ -406,9 +406,6 @@ bool setup_myself(meshlink_handle_t *mesh) {
                return false;
        }
 
-       xasprintf(&mesh->self->hostname, "MYSELF port %s", mesh->myport);
-       mesh->self->connection->hostname = xstrdup(mesh->self->hostname);
-
        /* Done. */
 
        mesh->last_config_check = mesh->loop.now.tv_sec;