mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
Fixing a bug in host reason reporting: "unknown-reason" was given when a host was found to be down due to no response. Now it's correctly reported as "no-response"
This commit is contained in:
parent
bf12f3f177
commit
eb93c53b8b
2 changed files with 5 additions and 0 deletions
|
|
@ -4549,6 +4549,8 @@ static void processData(UltraScanInfo *USI) {
|
|||
ultrascan_host_probe_update(USI, host, probeI, newstate, NULL);
|
||||
else
|
||||
ultrascan_port_probe_update(USI, host, probeI, newstate, NULL);
|
||||
if (host->target->reason.reason_id == ER_UNKNOWN)
|
||||
host->target->reason.reason_id = ER_NORESPONSE;
|
||||
if (tryno_capped && lastRetryCappedWarning != USI) {
|
||||
/* Perhaps I should give this on a per-host basis. Oh
|
||||
well, hopefully it is rare anyway. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue