diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-02-01 14:04:02 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-02-01 14:15:50 +0100 |
commit | baef19438741905fde4e740ee8f3fcf856d4e820 (patch) | |
tree | 1a2103d209c9cfc567f88ad8bf5e681160072bec /support | |
parent | 395599f0cf5168e821eed2a3451b18344ae7b5bd (diff) | |
download | glibc-baef19438741905fde4e740ee8f3fcf856d4e820.tar.gz glibc-baef19438741905fde4e740ee8f3fcf856d4e820.tar.xz glibc-baef19438741905fde4e740ee8f3fcf856d4e820.zip |
support: Handle AF_LOCAL, AF_UNSPEC in support_format_address_family
Diffstat (limited to 'support')
-rw-r--r-- | support/support_format_address_family.c | 4 |
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); } |