commit | c5a94c936b26432488a1a7577a79e74d6b0d2ffa | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Aug 28 15:19:45 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Aug 28 18:51:36 2020 +0200 |
tree | 36c01cd379b4f95969300c1af7a07f419211ca8c | |
parent | f172558b2746b35d1301a5deb392bb8f63b0bf6c [diff] |
MINOR: sock_inet: implement sock_inet_get_dst() This one is common to the TCPv4 and UDPv4 code, it retrieves the destination address of a socket, taking care of the possiblity that for an incoming connection the traffic was possibly redirected. The TCP and UDP definitions were updated to rely on it and remove duplicated code.