aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-02-01 14:04:02 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-02-01 14:15:50 +0100
commitbaef19438741905fde4e740ee8f3fcf856d4e820 (patch)
tree1a2103d209c9cfc567f88ad8bf5e681160072bec /support/support_format_address_family.c
parentmanual: Update struct sockaddr_in, struct sockaddr_sin6 description (diff)
downloadglibc-baef19438741905fde4e740ee8f3fcf856d4e820.tar.gz
glibc-baef19438741905fde4e740ee8f3fcf856d4e820.tar.bz2
glibc-baef19438741905fde4e740ee8f3fcf856d4e820.zip
support: Handle AF_LOCAL, AF_UNSPEC in support_format_address_family
Diffstat (limited to 'support/support_format_address_family.c')
-rw-r--r--support/support_format_address_family.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/support/support_format_address_family.c b/support/support_format_address_family.c
index cc3fb868a0..8f439d5fc4 100644
--- a/support/support_format_address_family.c
+++ b/support/support_format_address_family.c
@@ -29,6 +29,10 @@ support_format_address_family (int family)
return xstrdup ("INET");
case AF_INET6:
return xstrdup ("INET6");
+ case AF_LOCAL:
+ return xstrdup ("LOCAL");
+ case AF_UNSPEC:
+ return xstrdup ("UNSPEC");
default:
return xasprintf ("<unknown address family %d>", family);
}