mirror of
https://github.com/nmap/nmap.git
synced 2025-12-24 00:19:01 +00:00
Don't quit if no MAC can be found, just mark the target as down. Unusual case, see #1293
This commit is contained in:
@@ -620,8 +620,9 @@ static void refresh_hostbatch(HostGroupState *hs, const addrset *exclude_group,
|
||||
if (!(hs->hostbatch[i]->flags & HOST_DOWN) &&
|
||||
!hs->hostbatch[i]->timedOut(&now)) {
|
||||
if (!setTargetNextHopMAC(hs->hostbatch[i])) {
|
||||
fatal("%s: Failed to determine dst MAC address for target %s",
|
||||
error("%s: Failed to determine dst MAC address for target %s",
|
||||
__func__, hs->hostbatch[i]->NameIP());
|
||||
hs->hostbatch[i]->flags = HOST_DOWN;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user