Nmap Development mailing list archives

[PATCH][TRIVIAL] Get 3.59ALPHA3 to compile on Solaris


From: Tom Duffy <tduffy () sun com>
Date: Fri, 20 Aug 2004 14:44:38 -0700

--- nmap-3.59ALPHA3/osscan.cc.orig      2004-08-20 14:39:46.065658000 -0700
+++ nmap-3.59ALPHA3/osscan.cc   2004-08-20 14:38:20.524825000 -0700
@@ -1709,7 +1709,7 @@ sethdrinclude(sd); 
 realcheck = in_cksum((unsigned short *)pseudo, 20 /* pseudo + UDP headers */ +
  datalen);
 #if STUPID_SOLARIS_CHECKSUM_BUG
- udp->uh_sum = sizeof(struct udphdr_bsd) + datalen;
+ udp->uh_sum = sizeof(udphdr_bsd) + datalen;
 #else
 udp->uh_sum = realcheck;
 #endif

Attachment: signature.asc
Description: This is a digitally signed message part


Current thread: