diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1998-11-29 23:02:39 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1998-11-29 23:02:39 +0000 |
commit | 2abd784be1405917428a1a52b76bb8aeee813250 (patch) | |
tree | 40919757586e7562efc1cb6ffd4e043efe47d9a3 /security/nmap/files | |
parent | 228772c2fe3b9b49954fc019355f399e4c2ae0ad (diff) | |
download | ports-2abd784be1405917428a1a52b76bb8aeee813250.tar.gz ports-2abd784be1405917428a1a52b76bb8aeee813250.zip |
Notes
Diffstat (limited to 'security/nmap/files')
-rw-r--r-- | security/nmap/files/patch-ab | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/security/nmap/files/patch-ab b/security/nmap/files/patch-ab new file mode 100644 index 000000000000..31f021337ce0 --- /dev/null +++ b/security/nmap/files/patch-ab @@ -0,0 +1,20 @@ +--- tcpip.c.orig Sun Nov 29 10:00:13 1998 ++++ tcpip.c Sun Nov 29 10:00:51 1998 +@@ -563,7 +563,7 @@ + if (ifc.ifc_len == 0) + fatal("SIOCGIFCONF claims you have no network interfaces!\n"); + #if HAVE_SOCKADDR_SA_LEN +- len = MAX(sizeof(struct sockaddr), ifr->ifr_addr.sa_len); ++ len = ifr->ifr_addr.sa_len; + #else + len = sizeof(SA); + #endif +@@ -581,6 +581,7 @@ + dev[63] = '\0'; + return 1; + } ++ len = ifr->ifr_addr.sa_len; + } + /* Shucks, we didn't find it ... */ + dev[0] = '\0'; + |