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:
Willy Tarreau 2026-06-02 18:52:56 +02:00
parent 777ea8b185
commit 24ea0e013d

View file

@ -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;