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(""); + break; + case AF_INET: { const struct sockaddr_in *sa4 = sa;