From: Saverio Proto Date: Fri, 4 Apr 2014 15:39:04 +0000 (+0200) Subject: make_names is needed for tinc_setup X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=1b37bed13b0a23d0da4cca8846c822b208ac7510;p=meshlink make_names is needed for tinc_setup --- 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;