mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-11 20:06:12 -04:00
MINOR: cfgparse: mention "interface" in the list of allowed "source" options
"interface" was only mentionned for the proxy source address but not for the server's.
This commit is contained in:
parent
b1719517b7
commit
eb37faa467
1 changed files with 2 additions and 7 deletions
|
|
@ -4514,13 +4514,8 @@ stats_error_parsing:
|
|||
struct sockaddr_storage *sk;
|
||||
|
||||
if (!*args[cur_arg + 1]) {
|
||||
#if defined(CONFIG_HAP_CTTPROXY) || defined(CONFIG_HAP_LINUX_TPROXY)
|
||||
Alert("parsing [%s:%d] : '%s' expects <addr>[:<port>[-<port>]], and optional '%s' <addr> as argument.\n",
|
||||
file, linenum, "source", "usesrc");
|
||||
#else
|
||||
Alert("parsing [%s:%d] : '%s' expects <addr>[:<port>[-<port>]] as argument.\n",
|
||||
file, linenum, "source");
|
||||
#endif
|
||||
Alert("parsing [%s:%d] : '%s' expects <addr>[:<port>[-<port>]], and optionally '%s' <addr>, and '%s' <name> as argument.\n",
|
||||
file, linenum, "source", "usesrc", "interface");
|
||||
err_code |= ERR_ALERT | ERR_FATAL;
|
||||
goto out;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue