From baef19438741905fde4e740ee8f3fcf856d4e820 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 1 Feb 2019 14:04:02 +0100 Subject: [PATCH] support: Handle AF_LOCAL, AF_UNSPEC in support_format_address_family --- ChangeLog | 5 +++++ support/support_format_address_family.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 646dd79d30..09e9001a03 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-02-01 Florian Weimer + + * support/support_format_address_family.c + (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC. + 2019-02-01 Florian Weimer * manual/socket.texi (Internet Address Formats): Clarify the byte 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 ("", family); }