exit_configuration(&mesh->config);
init_configuration(&mesh->config);
- if(!read_server_config()) {
+ if(!read_server_config(mesh)) {
logger(DEBUG_ALWAYS, LOG_ERR, "Unable to reread configuration file.");
return EINVAL;
}
/* Parse some options that are allowed to be changed while tinc is running */
- setup_myself_reloadable();
+ setup_myself_reloadable(mesh);
/* Try to make outgoing connections */