1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Mark IPv6 host as up if ND response received outside timeout window, same as ARP/IPv4

This commit is contained in:
dmiller
2019-02-26 20:13:36 +00:00
parent f519e64b1d
commit d86a177456

View File

@@ -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 {