mirror of
https://github.com/nmap/nmap.git
synced 2026-06-19 15:08:40 +00:00
Don't print out a "Host not scanned" line when doing list scan.
This commit is contained in:
parent
f7ea96b349
commit
779b6cec2e
1 changed files with 1 additions and 2 deletions
|
|
@ -1448,8 +1448,7 @@ void write_host_header(Target *currenths) {
|
|||
for all hosts (even down ones) to be resolved */
|
||||
void write_host_status(Target * currenths, int resolve_all) {
|
||||
if (o.listscan) {
|
||||
/* write "unknown" to stdout, machine, and xml */
|
||||
log_write(LOG_PLAIN, "Host not scanned\n");
|
||||
/* write "unknown" to machine and xml */
|
||||
log_write(LOG_MACHINE, "Host: %s (%s)\tStatus: Unknown\n",
|
||||
currenths->targetipstr(), currenths->HostName());
|
||||
write_xml_initial_hostinfo(currenths, "unknown");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue