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:
@@ -1666,8 +1666,10 @@ bool get_ns_result(UltraScanInfo *USI, struct timeval *stime) {
|
|||||||
hss->target->reason.reason_id = ER_NDRESPONSE;
|
hss->target->reason.reason_id = ER_NDRESPONSE;
|
||||||
|
|
||||||
if (hss->probes_outstanding.empty()) {
|
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;
|
continue;
|
||||||
/* TODO: I suppose I should really mark the @@# host as up */
|
|
||||||
}
|
}
|
||||||
probeI = hss->probes_outstanding.end();
|
probeI = hss->probes_outstanding.end();
|
||||||
do {
|
do {
|
||||||
|
|||||||
Reference in New Issue
Block a user