commit | 25140cc5733a67173421681cfe5b8b010ea6891d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Aug 28 15:40:33 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Aug 28 18:51:36 2020 +0200 |
tree | 3ed0b5e5a0dc915ffef54d5389455bbf3f285bd4 | |
parent | c5a94c936b26432488a1a7577a79e74d6b0d2ffa [diff] |
REORG: inet: replace tcp_is_foreign() with sock_inet_is_foreign() The function now makes it clear that it's independent on the socket type and solely relies on the address family. Note that it supports both IPv4 and IPv6 as we don't seem to need it per-family.