]> tinc-vpn.org Git - tinc/blobdiff - src/tincd.c
Use the crypto wrappers again instead of calling OpenSSL directly.
[tinc] / src / tincd.c
index cb86cd8b522d5dbaf4a18c6da2f95c0d17b8eeb2..0f78e45a6239e3a02625d7309d04eb44e6be9cdd 100644 (file)
@@ -213,7 +213,7 @@ static void make_names(void)
 #endif
 
        if(!controlsocketname)
-               asprintf(&controlsocketname, LOCALSTATEDIR "/run/%s.control", identname);
+               asprintf(&controlsocketname, "%s/run/%s.control/socket", LOCALSTATEDIR, identname);
 
        if(!logfilename)
                asprintf(&logfilename, LOCALSTATEDIR "/log/%s.log", identname);