]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tools: only print address in sa2str() when port == -1
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 10 Mar 2025 21:25:09 +0000 (22:25 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Wed, 12 Mar 2025 09:51:20 +0000 (10:51 +0100)
commit47f14be9f31ca13a68c4f514ca5d1528aef9a07f
tree8b28e55b93f1b63ae79d1243c5d8c85756abf5d8
parent2de62d046145017e4e3ae4453c1a6f0ffb215f62
MINOR: tools: only print address in sa2str() when port == -1

Support special value for port in sa2str: if port is equal to -1, only
print the address without the port, also ignoring <map_ports> value.
include/haproxy/tools.h
src/tools.c