mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-23 23:28:47 -04:00
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.
This commit is contained in:
parent
47ee036e5f
commit
d1af50c807
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue