]> git.kaiwu.me - haproxy.git/commit
MINOR: haload: allow "0" shortcut for IPv4 bind address
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 8 Jul 2026 15:34:30 +0000 (17:34 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Wed, 8 Jul 2026 15:35:34 +0000 (17:35 +0200)
commit3248ba100d879b3e6f440f16ff588aa7ea196db0
treeee05fcc3a15a4c90b57ed0a1aabae9279f0d66f5
parent7f37cf8cc0ba314ea48d9981bb433d63aa79b05c
MINOR: haload: allow "0" shortcut for IPv4 bind address

The address parser was failing when using "0" as a shortcut for INADDR_ANY.
This patch intercepts the "0" prefix and normalizes it to "0.0.0.0"
before the address is parsed.
src/haload_init.c