diff options
author | Jon Schipp <jonschipp@gmail.com> | 2014-07-25 11:41:45 -0500 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2014-07-28 12:05:14 +0200 |
commit | 77a4bf3b15f7655af738432691a764ac54b3d66a (patch) | |
tree | c5774379bb574323152d63b162e2d2b35b8cec20 | |
parent | 9ef1dd15551f4a4d126a55d38fccbe568920ad8f (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]
-rw-r--r-- | mausezahn.8 | 2 | ||||
-rw-r--r-- | staging/cli.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mausezahn.8 b/mausezahn.8 index 1037737..6d5b344 100644 --- a/mausezahn.8 +++ b/mausezahn.8 @@ -246,7 +246,7 @@ mausezahn server: mz# .PP It is recommended to configure your own login credentials in -/etc/netsniff-ng/mausezahn.cfg, such as: +/etc/netsniff-ng/mausezahn.conf, such as: .PP user = foo password = bar 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"); } |