1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-19 04:39:01 +00:00

new (at least rejiggered) output system, --log-errors option, ready for 4.02Alpha1, I think

This commit is contained in:
fyodor
2006-03-04 04:17:32 +00:00
parent 848ad2a96a
commit 705123dd29
11 changed files with 260 additions and 134 deletions

View File

@@ -278,7 +278,7 @@ class NmapOps {
int noresolve;
int force; /* force nmap to continue on even when the outcome seems somewhat certain */
int append_output; /* Append to any output files rather than overwrite */
FILE *logfd[LOG_TYPES];
FILE *logfd[LOG_NUM_FILES];
FILE *nmap_stdout; /* Nmap standard output */
int ttl; // Time to live
int badsum;
@@ -286,6 +286,7 @@ class NmapOps {
bool mass_dns;
int resolve_all;
char *dns_servers;
bool log_errors;
// Statistics Options set in nmap.cc
int numhosts_scanned;