commit | ecde7df11b31f3fdefd90c6f7c8ba9cfa9ec8d35 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Nov 02 22:37:03 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Nov 05 13:56:04 2016 +0100 |
tree | 3dfa0d817d668dd1d3cc2ce5fdb8f338f6f7638c | |
parent | 5b2ce8a10f3ff2e2fafdf9fd7fce696a8a8788db [diff] |
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.