Commits

Ruslan Osmanov committed a356015

Fix: no need to check for HAVE_INET_NTOP since we use libevent's utility for ntop

Comments (0)

Files changed (2)

classes/event_util.c

 				}
 			}
 			break;
-#if HAVE_IPV6 && HAVE_INET_NTOP
+#if HAVE_IPV6
 		case AF_INET6:
 			{
 				struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) sa;

classes/listener.c

 				ret = SUCCESS;
 			}
 			break;
-#if HAVE_IPV6 && HAVE_INET_NTOP
+#if HAVE_IPV6
 		case AF_INET6:
 			if (evutil_inet_ntop(in_addr->sa_family, &((struct sockaddr_in6 *) in_addr)->sin6_addr,
 						(void *) &buf, sizeof(buf))) {