mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +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:
parent
087b445f17
commit
16193bc5e8
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue