mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Updated nmap to set nbase logging.
This commit is contained in:
parent
230d51c547
commit
c1464a4213
1 changed files with 4 additions and 0 deletions
4
nmap.cc
4
nmap.cc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue