summaryrefslogtreecommitdiff
path: root/security/nmap/files/patch-tcpip.cc
diff options
context:
space:
mode:
Diffstat (limited to 'security/nmap/files/patch-tcpip.cc')
-rw-r--r--security/nmap/files/patch-tcpip.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/security/nmap/files/patch-tcpip.cc b/security/nmap/files/patch-tcpip.cc
index cd67b771bc2b..bfd32d785532 100644
--- a/security/nmap/files/patch-tcpip.cc
+++ b/security/nmap/files/patch-tcpip.cc
@@ -9,21 +9,3 @@
extern NmapOps o;
#ifdef WIN32
-@@ -1959,7 +1961,7 @@
-
- // Returns whether the system supports pcap_get_selectable_fd() properly
- bool pcap_selectable_fd_valid() {
--#if defined(WIN32) || defined(MACOSX)
-+#if defined(WIN32) || defined(MACOSX) || (defined(FREEBSD) && (__FreeBSD_version < 500000))
- return false;
- #endif
- return true;
-@@ -1972,7 +1974,7 @@
- results. If you just want to test whether the function is supported,
- use pcap_selectable_fd_valid() instead. */
- int my_pcap_get_selectable_fd(pcap_t *p) {
--#if defined(WIN32) || defined(MACOSX)
-+#if defined(WIN32) || defined(MACOSX) || (defined(FREEBSD) && (__FreeBSD_version < 500000))
- return -1;
- #else
- assert(pcap_selectable_fd_valid());