mirror of
https://github.com/nmap/nmap.git
synced 2025-12-21 06:59:01 +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:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user