commit | 37bafdcbb12096c1291a3b5439109c91a419536a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Aug 28 17:23:40 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Aug 28 18:51:36 2020 +0200 |
tree | c0bd97384ccfb274e49c005ba160a6b9712fc8c8 | |
parent | 2d34a710b1423c5f698b060f48db8e97eb981f5e [diff] |
MINOR: sock_inet: move the IPv4/v6 transparent mode code to sock_inet This code was highly redundant, existing for TCP clients, TCP servers and UDP servers. Let's move it to sock_inet where it belongs. The new functions are sock_inet4_make_foreign() and sock_inet6_make_foreign().