1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Reintegrate 7.97 changes

This commit is contained in:
dmiller
2025-05-15 15:42:03 +00:00
parent ef1c789f2a
commit ec3b1d264b
15 changed files with 69 additions and 59 deletions

View File

@@ -112,6 +112,11 @@
// * Figure out best way to estimate completion time
// and display it in a ScanProgressMeter
#include <limits.h>
#include <list>
#include <fstream>
#include <istream>
#ifdef WIN32
#include "nmap_winconfig.h"
/* Need DnetName2PcapName */
@@ -128,11 +133,6 @@
#include "timing.h"
#include "Target.h"
#include <limits.h>
#include <list>
#include <fstream>
#include <istream>
extern NmapOps o;
@@ -1141,7 +1141,6 @@ static void parse_etchosts(const char *fname) {
else if (o.debugging)
log_write(LOG_STDOUT, "Unable to parse /etc/hosts address: %s\n", addr.c_str());
}
ifs.close();
}
static void etchosts_init(void) {