]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: peers/config: always fill the bind_conf's argument
authorWilly Tarreau <w@1wt.eu>
Tue, 5 Jul 2022 13:54:09 +0000 (15:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 Jul 2022 17:06:47 +0000 (19:06 +0200)
commit8d158132bde98e8dfacb54d685c33eb2a982a26c
tree90f1cfb4f239b7c51a0f167cf416b6cc50cf2b99
parentbf91e3922bdea9034e6d19b2913d89707ae1d1f3
BUG/MINOR: peers/config: always fill the bind_conf's argument

Some generic frontend errors mention the bind_conf by its name as
"bind '%s'", but if this is used on peers "bind" lines it shows
"(null)" because the argument is set to NULL in the call to
bind_conf_uniq_alloc() instead of passing the argument. Fortunately
that's trivial to fix.

This may be backported to older versions.
src/cfgparse.c