mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Mark IPv6 host as up if ND response received outside timeout window, same as ARP/IPv4
This commit is contained in:
parent
f519e64b1d
commit
d86a177456
1 changed files with 3 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue