mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
support: Handle AF_LOCAL, AF_UNSPEC in support_format_address_family
This commit is contained in:
parent
395599f0cf
commit
baef194387
@ -1,3 +1,8 @@
|
||||
2019-02-01 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* support/support_format_address_family.c
|
||||
(support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
|
||||
|
||||
2019-02-01 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* manual/socket.texi (Internet Address Formats): Clarify the byte
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user