mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-11 23:03:06 -05:00
[CLEANUP] cfgparse: fix reported options for the "bind" keyword
This commit is contained in:
parent
8263b91a53
commit
b48f958e05
1 changed files with 2 additions and 2 deletions
|
|
@ -855,7 +855,7 @@ int cfg_parse_global(const char *file, int linenum, char **args, int kwm)
|
|||
continue;
|
||||
}
|
||||
|
||||
Alert("parsing [%s:%d] : '%s' only supports the 'transparent', 'accept-proxy', 'defer-accept', 'name', 'id', 'mss' and 'interface' options.\n",
|
||||
Alert("parsing [%s:%d] : '%s' only supports the 'prefix', 'mode', 'uid', 'gid', 'user' and 'group' options.\n",
|
||||
file, linenum, args[0]);
|
||||
err_code |= ERR_ALERT | ERR_FATAL;
|
||||
goto out;
|
||||
|
|
@ -1849,7 +1849,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
|
|||
continue;
|
||||
}
|
||||
|
||||
Alert("parsing [%s:%d] : '%s' only supports the 'transparent', 'accept-proxy', 'defer-accept', 'name', 'id', 'mss' and 'interface' options.\n",
|
||||
Alert("parsing [%s:%d] : '%s' only supports the 'transparent', 'accept-proxy', 'defer-accept', 'name', 'id', 'mss', 'mode', 'uid', 'gid', 'user', 'group' and 'interface' options.\n",
|
||||
file, linenum, args[0]);
|
||||
err_code |= ERR_ALERT | ERR_FATAL;
|
||||
goto out;
|
||||
|
|
|
|||
Loading…
Reference in a new issue