From: Willy Tarreau Date: Tue, 2 Jun 2026 16:52:56 +0000 (+0200) Subject: BUG/MINOR: haterm: also apply the tcp-bind-opts to clear TCP "bind" lines X-Git-Tag: v3.4.0~14 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=24ea0e013d3d5d2469a69314c295073176664ea1;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/haterm_init.c b/src/haterm_init.c index a78c41a07..623fe36f7 100644 --- a/src/haterm_init.c +++ b/src/haterm_init.c @@ -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;