From 1b37bed13b0a23d0da4cca8846c822b208ac7510 Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Fri, 4 Apr 2014 17:39:04 +0200 Subject: [PATCH] make_names is needed for tinc_setup --- src/libmeshlink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libmeshlink.c b/src/libmeshlink.c index c05d1781..4f2364bb 100644 --- a/src/libmeshlink.c +++ b/src/libmeshlink.c @@ -194,6 +194,7 @@ int check_port(char *name) { } //tinc_setup() should basically do what cmd_init() from src/tincctl.c does, except it doesn't have to generate a tinc-up script. bool tinc_setup(const char* tinc_conf, const char* name) { + make_names(); if(!access(tinc_conf, F_OK)) { fprintf(stderr, "Configuration file %s already exists!\n", tinc_conf); return false; -- 2.39.5