From 77a4bf3b15f7655af738432691a764ac54b3d66a Mon Sep 17 00:00:00 2001 From: Jon Schipp Date: Fri, 25 Jul 2014 11:41:45 -0500 Subject: mausezahn: change configuration file name to mausezahn.conf Commit 134a7beb7ab ("mausezahn: re-work configuration file") changed mausezahn to look for the configuration file in /etc/netsniff-ng. The filename was intended to be mausezahn.conf not mausezahn.cfg to fit with the other *.conf file extensions in /etc/netsniff-ng, so change it now. Signed-off-by: Jon Schipp Signed-off-by: Tobias Klauser [commit msg edited] --- staging/cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'staging') diff --git a/staging/cli.c b/staging/cli.c index 7d8e2ce..9abc648 100644 --- a/staging/cli.c +++ b/staging/cli.c @@ -27,13 +27,13 @@ void mz_cli_init() { amp_head = automops_init(); - // Initialize default credentials (will be overwritten by mausezahn.cfg) + // Initialize default credentials (will be overwritten by mausezahn.conf) strcpy(mz_username, MZ_DEFAULT_USERNAME); strcpy(mz_password, MZ_DEFAULT_PASSWORD); strcpy(mz_enable, MZ_DEFAULT_ENABLE_PASSWORD); // read login credentials from config file - if (cli_read_cfg("mausezahn.cfg")) { + if (cli_read_cfg("mausezahn.conf")) { fprintf(stderr, "mz: Problems opening config file. Will use defaults\n"); } -- cgit v1.2.3-54-g00ecf