summaryrefslogtreecommitdiff
path: root/security/nmap/files/patch-tcpip.cc
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2004-07-07 09:22:26 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2004-07-07 09:22:26 +0000
commit471cedfc5926a41010581092bec83db7b2cb5bab (patch)
tree112f41cbc7eb5422a803e1fc922b61d8bafb3f3a /security/nmap/files/patch-tcpip.cc
parentCanonicalize MASTER_SITES a bit, to ease sorting by dumb scripts (ranksites) (diff)
- update to 3.55
/usr/local/share/doc/nmap/CHANGELOG
Notes
Notes: svn path=/head/; revision=113123
Diffstat (limited to 'security/nmap/files/patch-tcpip.cc')
-rw-r--r--security/nmap/files/patch-tcpip.cc20
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);