mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 11:22:05 +00:00
Apply 1-line fix from Jah which now properly counts traceroute ping scan IPs (previously it would say things like 'WARNING: No targets were specified, so 0 hosts scanned.' and 'Nmap done: 0 IP addresses (1 host up) scanned'
This commit is contained in:
parent
f234bb18fb
commit
2a5750baef
1 changed files with 1 additions and 0 deletions
1
nmap.cc
1
nmap.cc
|
|
@ -1817,6 +1817,7 @@ int nmap_main(int argc, char *argv[]) {
|
|||
* trace is first */
|
||||
while(!Targets.empty()) {
|
||||
currenths = *Targets.begin();
|
||||
o.numhosts_scanned++;
|
||||
log_write(LOG_XML, "<host>");
|
||||
write_host_status(currenths, o.resolve_all);
|
||||
printmacinfo(currenths);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue