aboutsummaryrefslogtreecommitdiff
path: root/support
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
parent395599f0cf5168e821eed2a3451b18344ae7b5bd (diff)
downloadglibc-baef19438741905fde4e740ee8f3fcf856d4e820.zip
glibc-baef19438741905fde4e740ee8f3fcf856d4e820.tar.gz
glibc-baef19438741905fde4e740ee8f3fcf856d4e820.tar.bz2
support: Handle AF_LOCAL, AF_UNSPEC in support_format_address_family
Diffstat (limited to 'support')
-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 cc3fb86..8f439d5 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);
}