Nmap Development mailing list archives

Re: FreeBSD Ports Patch


From: Fyodor <fyodor () insecure org>
Date: Wed, 16 Sep 2009 20:24:57 -0700

On Mon, Sep 14, 2009 at 09:00:59PM -0400, Jay Fink wrote:
Hello,

Attached is a small patch from the FreeBSD Ports tree. I compiled and
ran nmap with --packet trace on both of these systems after applying
it:

Thanks Jay.  It does not seem to cause any problems on my Linux and
Windows test boxes.  I've applied the patch, except I left out this
part:

--- tcpip.cc    (revision 15472)
+++ tcpip.cc    (working copy)
@@ -127,6 +127,8 @@
 #endif /* NETINET_IF_ETHER_H */
 #endif /* HAVE_NETINET_IF_ETHER_H */
 
+#include <sys/param.h>
+
 extern NmapOps o;
 
 #ifdef WIN32

tcpip.h already includes this sys/param.h (with a proper test to
ensure it exists), so it shouldn't be needed here, unless something
else is going wrong.

Cheers,
-F

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: