From d1af50c807432506bd5cf603d3b870616bdcbe43 Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Mon, 3 Jul 2023 17:35:54 +0200 Subject: [PATCH] BUG/MINOR: log: fix missing name error message in cfg_parse_log_forward() "missing name for ip-forward section" is generated instead of "missing name name for log-forward section" in cfg_parse_log_forward(). This may be backported up to 2.4. --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log.c b/src/log.c index 2c23ac147..3e5f97ea2 100644 --- a/src/log.c +++ b/src/log.c @@ -3727,7 +3727,7 @@ int cfg_parse_log_forward(const char *file, int linenum, char **args, int kwm) if (strcmp(args[0], "log-forward") == 0) { if (!*args[1]) { - ha_alert("parsing [%s:%d] : missing name for ip-forward section.\n", file, linenum); + ha_alert("parsing [%s:%d] : missing name for log-forward section.\n", file, linenum); err_code |= ERR_ALERT | ERR_ABORT; goto out; }