Index: libnetutil/netutil.cc
===================================================================--- libnetutil/netutil.cc (revision 35571)+++ libnetutil/netutil.cc (working copy)@@ -915,7 +915,7 @@
/* Other than WIN32, what these systems have in common is that they use BPF for
packet capture. (Solaris 10 and earlier used DLPI and had valid selectable
fds.) */
-#if defined(WIN32) || defined(MACOSX) || (defined(FREEBSD) && (__FreeBSD_version < 500000) || defined(SOLARIS_BPF_PCAP_CAPTURE))+#if defined(WIN32) || defined(MACOSX) || (defined(FREEBSD) && (__FreeBSD_version < 500000) || defined(SOLARIS_BPF_PCAP_CAPTURE) || defined(OPENBSD))
/* Returns whether the system supports pcap_get_selectable_fd() properly */
int pcap_selectable_fd_valid() {
return 0;
The text was updated successfully, but these errors were encountered:
From the OpenBSD ports maintainer: http://seclists.org/nmap-dev/2016/q1/35
The text was updated successfully, but these errors were encountered: