summaryrefslogtreecommitdiff
path: root/security/nmap/files/patch-tcpip.cc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-01-31 00:50:27 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-01-31 00:50:27 +0000
commit6d09d8dd4f10eeefcd3f67f145777dd94374d6e9 (patch)
treef02344f3c37d2ebed78c169c95d656dea44ceac9 /security/nmap/files/patch-tcpip.cc
parent- Added Apache and Lighttpd options (diff)
- Update to 5.21
PR: 143331 Submitted by: Daniel Roethlisberger <daniel@roe.ch> (maintainer)
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());