Nmap Development mailing list archives
Trivial Mac OS X (and other platforms?) compilation fix for 3.94ALPHA2
From: Fyodor <fyodor () insecure org>
Date: Mon, 5 Dec 2005 02:39:28 -0800
Felix Gröbert notified me of a compilation problem with 3.94ALPHA2 on
his Mac OS X box. The error looks like:
scan_engine.cc:683: error: using typedef-name 'udphdr_bsd' after 'struct'
If you get that message, this should fix the problem:
--- scan_engine.cc (revision 2964)
+++ scan_engine.cc (working copy)
@@ -680,7 +680,7 @@
void UltraProbe::setIP(u8 *ippacket, u32 iplen, const probespec
*pspec) {
struct ip *ipv4 = (struct ip *) ippacket;
struct tcphdr *tcp = NULL;
- struct udphdr_bsd *udp = NULL;
+ udphdr_bsd *udp = NULL;
type = UP_IP;
if (ipv4->ip_v != 4)
Cheers,
Fyodor
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Current thread:
- Trivial Mac OS X (and other platforms?) compilation fix for 3.94ALPHA2 Fyodor (Dec 05)
