mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-09 00:32:33 -04:00
BUG/MINOR: haterm: also apply the tcp-bind-opts to clear TCP "bind" lines
Commit 92581043fb ("MINOR: haterm: add long options for QUIC and TCP
"bind" settings") added --tcp-bind-opts. The doc (and commit) says that
it applies to TCP bind lines but it only applied to the TCP/SSL ones,
not the clear ones. Let's fix it. No backport needed, this is only 3.4.
This commit is contained in:
parent
777ea8b185
commit
24ea0e013d
1 changed files with 3 additions and 1 deletions
|
|
@ -399,7 +399,9 @@ void haproxy_init_args(int argc, char **argv)
|
|||
}
|
||||
|
||||
/* clear HTTP */
|
||||
hbuf_appendf(&fbuf, "\tbind %s:%s shards by-thread\n", ip, port1);
|
||||
hbuf_appendf(&fbuf, "\tbind %s:%s shards by-thread%s%s\n", ip, port1,
|
||||
tcp_bind_opt ? " " : "",
|
||||
tcp_bind_opt ? tcp_bind_opt : "");
|
||||
has_bind = 1;
|
||||
if (port2) {
|
||||
has_ssl = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue