peek_packet.c: provide local and remote address info
commit47b8d34564614bad73d7cc5f656bd259463b5a43
authorKyle J. McKay <mackyle@gmail.com>
Tue, 17 Nov 2020 12:11:37 +0000 (17 05:11 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 17 Nov 2020 12:11:37 +0000 (17 05:11 -0700)
tree08b3d47396fbaa0bcefaa96f0619875225e08d18
parent6ba748c59d04b52412da5da29094857190d1b622
peek_packet.c: provide local and remote address info

If the socket on fd 0 is either an AF_INET or AF_INET6
socket, then provide additional output lines with the
local and remote address and the local port.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
src/peek_packet.c