1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-29 10:59:02 +00:00

Fixed a formatting mistake in libdnet-stripped/src/intf.c and updated

NMAP_MODIFICATIONS to reflect a bug fix.
This commit is contained in:
josh
2009-07-02 20:33:38 +00:00
parent 294b15ce81
commit 9c374417eb
2 changed files with 4 additions and 2 deletions

View File

@@ -3,6 +3,8 @@ $Id$
This is Dug Song's excellent Libdnet networking library version 1.12.
It has been stripped down for inclusion within Nmap and modified as follows:
o Fixed a case where an open file may not be closed in intf_loop()
o Removed the following directories:
python, test, man, trunk

View File

@@ -678,9 +678,9 @@ intf_loop(intf_t *intf, intf_handler callback, void *arg)
intf->ifc.ifc_len = sizeof(intf->ifcbuf);
if (ioctl(intf->fd, SIOCGIFCONF, &intf->ifc) < 0) {
fclose(fp);
fclose(fp);
return (-1);
}
}
ret = 0;
while (fgets(buf, sizeof(buf), fp) != NULL) {