summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mausezahn.82
-rw-r--r--staging/cli.c4
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");
}