summaryrefslogtreecommitdiff
path: root/staging
diff options
context:
space:
mode:
authorJon Schipp <jonschipp@gmail.com>2014-07-25 11:41:45 -0500
committerTobias Klauser <tklauser@distanz.ch>2014-07-28 12:05:14 +0200
commit77a4bf3b15f7655af738432691a764ac54b3d66a (patch)
treec5774379bb574323152d63b162e2d2b35b8cec20 /staging
parent9ef1dd15551f4a4d126a55d38fccbe568920ad8f (diff)
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 <jonschipp@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch> [commit msg edited]
Diffstat (limited to 'staging')
-rw-r--r--staging/cli.c4
1 files changed, 2 insertions, 2 deletions
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");
}