diff --git a/scan_engine_raw.cc b/scan_engine_raw.cc index 8f1e90dca..034750262 100644 --- a/scan_engine_raw.cc +++ b/scan_engine_raw.cc @@ -1666,8 +1666,10 @@ bool get_ns_result(UltraScanInfo *USI, struct timeval *stime) { hss->target->reason.reason_id = ER_NDRESPONSE; if (hss->probes_outstanding.empty()) { + /* It's up because we got a response, but doesn't count as a response + * within this timeout window. Go around again. */ + hss->target->flags = HOST_UP; continue; - /* TODO: I suppose I should really mark the @@# host as up */ } probeI = hss->probes_outstanding.end(); do {