Misc afpacket changes.

remotes/origin/HEAD
Victor Julien 14 years ago
parent 8e48a2edfd
commit 860971eca0

@ -91,7 +91,7 @@ AC_INIT(configure.in)
# Checks for header files. # Checks for header files.
AC_CHECK_HEADERS([arpa/inet.h inttypes.h limits.h netdb.h poll.h signal.h stdint.h stdlib.h string.h syslog.h sys/ioctl.h sys/prctl.h sys/socket.h sys/syscall.h netinet/in.h sys/time.h unistd.h windows.h winsock2.h ws2tcpip.h]) AC_CHECK_HEADERS([arpa/inet.h inttypes.h limits.h netdb.h poll.h signal.h stdint.h stdlib.h string.h syslog.h sys/ioctl.h sys/prctl.h sys/socket.h sys/syscall.h netinet/in.h sys/time.h unistd.h windows.h winsock2.h ws2tcpip.h])
AC_CHECK_HEADERS([sys/socket.h net/if.h], [], [], AC_CHECK_HEADERS([sys/socket.h net/if.h sys/mman.h], [], [],
[[#ifdef HAVE_SYS_SOCKET_H [[#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h> #include <sys/socket.h>
#endif #endif

@ -533,6 +533,9 @@ void SCPrintBuildInfo(void) {
#ifdef HAVE_AF_PACKET #ifdef HAVE_AF_PACKET
strlcat(features, "AF_PACKET ", sizeof(features)); strlcat(features, "AF_PACKET ", sizeof(features));
#endif #endif
#ifdef HAVE_PACKET_FANOUT
strlcat(features, "HAVE_PACKET_FANOUT ", sizeof(features));
#endif
#ifdef HAVE_DAG #ifdef HAVE_DAG
strlcat(features, "DAG ", sizeof(features)); strlcat(features, "DAG ", sizeof(features));
#endif #endif

Loading…
Cancel
Save