mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-01 09:00:51 +00:00
BUG/MINOR: cfgparse: fix typo in 'option httplog' error message
The error message was displaying the wrong argument when 'option httplog' took a wrong argument.
This commit is contained in:
parent
d3a23c3eb8
commit
77063bc0c6
@ -4132,7 +4132,7 @@ stats_error_parsing:
|
||||
curproxy->options2 |= PR_O2_CLFLOG;
|
||||
logformat = clf_http_log_format;
|
||||
} else {
|
||||
Alert("parsing [%s:%d] : keyword '%s' only supports option 'clf'.\n", file, linenum, args[2]);
|
||||
Alert("parsing [%s:%d] : keyword '%s' only supports option 'clf'.\n", file, linenum, args[1]);
|
||||
err_code |= ERR_ALERT | ERR_FATAL;
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user