summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mausezahn.82
-rw-r--r--staging/cli.c4
-rw-r--r--staging/mz.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/mausezahn.8 b/mausezahn.8
index 3efc403..729ca0d 100644
--- a/mausezahn.8
+++ b/mausezahn.8
@@ -244,7 +244,7 @@ mausezahn server:
mz#
.PP
It is recommended to configure your own login credentials in
-/etc/mausezahn/mz.cfg, such as:
+/etc/netsniff-ng/mausezahn.cfg, such as:
.PP
user = foo
password = bar
diff --git a/staging/cli.c b/staging/cli.c
index 0e22640..ad040a1 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 mz.cfg)
+ // Initialize default credentials (will be overwritten by mausezahn.cfg)
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("mz.cfg")) {
+ if (cli_read_cfg("mausezahn.cfg")) {
fprintf(stderr, "mz: Problems opening config file. Will use defaults\n");
}
diff --git a/staging/mz.h b/staging/mz.h
index cad091f..d9ac716 100644
--- a/staging/mz.h
+++ b/staging/mz.h
@@ -79,7 +79,7 @@ static inline void verbose_l2(const char *format, ...)
// "Dies ist ein schrecklicher Ort."
-#define MZ_DEFAULT_CONFIG_PATH "/etc/mausezahn/" // see also mz_default_config_path below
+#define MZ_DEFAULT_CONFIG_PATH "/etc/netsniff-ng/" // see also mz_default_config_path below
#define MZ_DEFAULT_LOG_PATH "/var/log/mausezahn/" // see also mz_default_log_path below
#define SLEEP usleep // The sleep function to use. Consider 'nanosleep' in future.