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:
11
nmap_dns.cc
11
nmap_dns.cc
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user