Set a default password file if one is not specified in ocpasswd.

This commit is contained in:
Nikos Mavrogiannopoulos
2014-01-30 19:12:02 +01:00
parent 44cd152f02
commit 2254ba554b
2 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
#include <vpn.h>
#include <tlslib.h>
#define DEFAULT_CFG_FILE "/etc/ocserv.conf"
#define DEFAULT_CFG_FILE "/etc/ocserv/ocserv.conf"
static const char* pid_file = NULL;
static const char* cfg_file = DEFAULT_CFG_FILE;