]> sourceware.org Git - glibc.git/commitdiff
support: Handle AF_LOCAL, AF_UNSPEC in support_format_address_family
authorFlorian Weimer <fweimer@redhat.com>
Fri, 1 Feb 2019 13:04:02 +0000 (14:04 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 1 Feb 2019 13:15:50 +0000 (14:15 +0100)
ChangeLog
support/support_format_address_family.c

index 646dd79d30b451cd31e6a3b7144360bcf895f80f..09e9001a03d19352a8ba2af42c59731ec90bf905 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index cc3fb868a0f498da6a89400ff31f6fbbb6a9bb7d..8f439d5fc464db98979bfeddf2a726054e36aa91 100644 (file)
@@ -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);
     }
This page took 0.068096 seconds and 5 git commands to generate.