1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-31 11:59:03 +00:00

Updated nmap to set nbase logging.

This commit is contained in:
colin
2011-06-20 21:39:51 +00:00
parent 230d51c547
commit c1464a4213

View File

@@ -476,6 +476,10 @@ int nmap_main(int argc, char *argv[]) {
NewTargets *new_targets = NULL;
#endif
addrset exclude_group;
if(o.debugging)
nbase_set_log(fatal,error);
else
nbase_set_log(fatal,NULL);
char myname[MAXHOSTNAMELEN + 1];
#if (defined(IN_ADDR_DEEPSTRUCT) || defined( SOLARIS))
/* Note that struct in_addr in solaris is 3 levels deep just to store an