diff options
Diffstat (limited to 'security/nmap/files/patch-tcpip.cc')
-rw-r--r-- | security/nmap/files/patch-tcpip.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/security/nmap/files/patch-tcpip.cc b/security/nmap/files/patch-tcpip.cc deleted file mode 100644 index a7ebe21da047..000000000000 --- a/security/nmap/files/patch-tcpip.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- tcpip.cc.orig Thu Jun 17 13:36:02 2004 -+++ tcpip.cc Thu Jun 17 13:38:54 2004 -@@ -1769,7 +1769,7 @@ - #if TCPIP_DEBUGGING - printf("ifnet list length = %d\n",ifc.ifc_len); - printf("sa_len = %d\n",len); -- hdump(buf, ifc.ifc_len); -+ hdump((unsigned char *)buf, ifc.ifc_len); - printf("ifr = %X\n",(unsigned int)(*(char **)&ifr)); - printf("Size of struct ifreq: %d\n", sizeof(struct ifreq)); - #endif -@@ -2214,7 +2214,7 @@ - error("sendto in %s: sendto(%d, packet, %d, 0, %s, %d) => %s", - functionname, sd, len, inet_ntoa(sin->sin_addr), tolen, - strerror(socket_errno())); -- if (retries > 2 || socket_errno() == EPERM) -+ if (retries > 2 || socket_errno() == EPERM || socket_errno() == EACCES || socket_errno() == EADDRNOTAVAIL) - return -1; - sleeptime = 15 * (1 << (2 * retries)); - error("Sleeping %d seconds then retrying", sleeptime); |