]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: tools: make str2ip2() preserve existing ports
authorWilly Tarreau <w@1wt.eu>
Wed, 2 Nov 2016 21:37:03 +0000 (22:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 5 Nov 2016 12:56:04 +0000 (13:56 +0100)
commitecde7df11b31f3fdefd90c6f7c8ba9cfa9ec8d35
tree3dfa0d817d668dd1d3cc2ce5fdb8f338f6f7638c
parent5b2ce8a10f3ff2e2fafdf9fd7fce696a8a8788db
MEDIUM: tools: make str2ip2() preserve existing ports

Often we need to call str2ip2() on an address which already contains a
port without replacing it, so let's ensure we preserve it even if the
family changes.
src/standard.c