commit | dc3a9e830c3f91774f67693cf766f293dc673ec9 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Nov 04 18:47:01 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Nov 05 13:56:04 2016 +0100 |
tree | 5460bf30799af7917ed6550a58dd0dd7a9c3d636 | |
parent | ecde7df11b31f3fdefd90c6f7c8ba9cfa9ec8d35 [diff] |
CLEANUP: tools: make ipcpy() preserve the original port ipcpy() is used to replace an IP address with another one, but it doesn't preserve the original port so all callers have to do it manually while it's trivial to do there. Better do it inside the function.