diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-07-17 10:36:03 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-07-17 07:05:18 +0200 |
commit | 6bd8283bf962126da73612737a5730082b70b5f3 (patch) | |
tree | 6984bd0ddc0a21fb2b2dd1d77390edd5f634dd91 /tcp_splice.c | |
parent | 4e1f850f61caaff0c65ce9d5fc4322a4aea807dc (diff) | |
download | passt-6bd8283bf962126da73612737a5730082b70b5f3.tar passt-6bd8283bf962126da73612737a5730082b70b5f3.tar.gz passt-6bd8283bf962126da73612737a5730082b70b5f3.tar.bz2 passt-6bd8283bf962126da73612737a5730082b70b5f3.tar.lz passt-6bd8283bf962126da73612737a5730082b70b5f3.tar.xz passt-6bd8283bf962126da73612737a5730082b70b5f3.tar.zst passt-6bd8283bf962126da73612737a5730082b70b5f3.zip |
util: Add AF_UNSPEC support to sockaddr_ntop()
Allow sockaddr_ntop() to format AF_UNSPEC socket addresses. There do exist
a few cases where we might legitimately have either an AF_UNSPEC or a real
address, such as the origin address from MSG_ERRQUEUE. Even in cases where
we shouldn't get an AF_UNSPEC address, formatting it is likely to make
things easier to debug if we ever somehow do.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp_splice.c')
0 files changed, 0 insertions, 0 deletions