aboutgitcodebugslistschat
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util.c b/util.c
index 9a73fbb..428847d 100644
--- a/util.c
+++ b/util.c
@@ -622,6 +622,10 @@ const char *sockaddr_ntop(const void *sa, char *dst, socklen_t size)
} while (0)
switch (family) {
+ case AF_UNSPEC:
+ IPRINTF("<unspecified>");
+ break;
+
case AF_INET: {
const struct sockaddr_in *sa4 = sa;