1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-21 13:49:04 +00:00

Changed a LOG_PLAIN message into a LOG_STDOUT since it is more of a real-time message than something you want in your report files (suggested by Justin Cacak)

This commit is contained in:
fyodor
2011-05-05 08:37:23 +00:00
parent 78b7948324
commit 56408b6908

View File

@@ -3766,7 +3766,7 @@ static int os_scan_2(vector<Target *> &Targets) {
if (!plural) {
(*(OSI->incompleteHosts.begin()))->target->NameIP(targetstr, sizeof(targetstr));
} else Snprintf(targetstr, sizeof(targetstr), "%d hosts", (int) OSI->numIncompleteHosts());
log_write(LOG_PLAIN, "%s OS detection (try #%d) against %s\n", (itry == 0)? "Initiating" : "Retrying", itry + 1, targetstr);
log_write(LOG_STDOUT, "%s OS detection (try #%d) against %s\n", (itry == 0)? "Initiating" : "Retrying", itry + 1, targetstr);
log_flush_all();
}
startRound(OSI, HOS, itry);