MINOR: cli/show_fd: report local and report ports when known
authorWilly Tarreau <w@1wt.eu>
Fri, 5 Feb 2021 09:54:52 +0000 (10:54 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 5 Feb 2021 09:58:03 +0000 (10:58 +0100)
commited9892018c327c61342bf95b2d83f44f27bfc7c4
tree13ff22ed723e9aad2e67f77476647c941a40eb84
parent2da742933daf32eb50f55ad268b49f9497a92320
MINOR: cli/show_fd: report local and report ports when known

FD dumps are not always easy to match against netstat dumps, and often
require an lsof as a third dump. Let's emit the socket family, and the
local and remore ports when the FD is an IPv4/IPv6 socket, this will
significantly ease the matching.
src/cli.c