Configure node_t mesh->self and set up the local sockets (listen only)
*/
bool setup_myself(meshlink_handle_t *mesh) {
Configure node_t mesh->self and set up the local sockets (listen only)
*/
bool setup_myself(meshlink_handle_t *mesh) {
if(!(name = get_name(mesh))) {
logger(DEBUG_ALWAYS, LOG_ERR, "Name for tinc daemon required!");
if(!(name = get_name(mesh))) {
logger(DEBUG_ALWAYS, LOG_ERR, "Name for tinc daemon required!");
if(!get_config_string(lookup_config(mesh->config, "Port"), &mesh->myport))
mesh->myport = xstrdup("655");
if(!get_config_string(lookup_config(mesh->config, "Port"), &mesh->myport))
mesh->myport = xstrdup("655");