mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Make the "Moving to completed hosts list" message require o.debugging > 1. This was somehow missed in the merge.
This commit is contained in:
parent
1c9700464b
commit
b005b9dea7
1 changed files with 2 additions and 2 deletions
|
|
@ -1520,13 +1520,13 @@ int UltraScanInfo::removeCompletedHosts() {
|
|||
hss->target->targetipstr(), scantype2str(scantype), remain,
|
||||
(remain == 1)? "host left" : "hosts left");
|
||||
}
|
||||
if (o.debugging) {
|
||||
if (o.debugging > 1) {
|
||||
unsigned int num_outstanding_probes;
|
||||
num_outstanding_probes = hss->probes_outstanding.size();
|
||||
log_write(LOG_PLAIN, "Moving %s to completed hosts list with %d outstanding %s.\n",
|
||||
hss->target->targetipstr(), num_outstanding_probes,
|
||||
num_outstanding_probes == 1 ? "probe" : "probes");
|
||||
if (o.debugging > 1) {
|
||||
if (o.debugging > 2) {
|
||||
char tmpbuf[32];
|
||||
std::list<UltraProbe *>::iterator iter;
|
||||
for (iter = hss->probes_outstanding.begin(); iter != hss->probes_outstanding.end(); iter++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue