X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnet_setup.c;h=35b301d828f9eb672defd4461eb30bc5f8b385f4;hb=1564f52f7643c554ec49a3e014bc9b9a8745c856;hp=3462607058eb1969379e1d40a714141f2c9463e4;hpb=a3c7e1ce23cd7502f0461354fc6cb2b16f39ed96;p=meshlink diff --git a/src/net_setup.c b/src/net_setup.c index 34626070..35b301d8 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -29,7 +29,6 @@ #include "ecdsa.h" #include "graph.h" #include "logger.h" -#include "names.h" #include "net.h" #include "netutl.h" #include "protocol.h" @@ -185,7 +184,7 @@ static bool read_ecdsa_private_key(void) { if(!fp) { logger(DEBUG_ALWAYS, LOG_ERR, "Error reading ECDSA private key file `%s': %s", fname, strerror(errno)); if(errno == ENOENT) - logger(DEBUG_ALWAYS, LOG_INFO, "Create an ECDSA keypair with `tinc -n %s generate-ecdsa-keys'.", netname ?: "."); + logger(DEBUG_ALWAYS, LOG_INFO, "Create an ECDSA keypair with `tinc generate-ecdsa-keys'."); free(fname); return false; }