1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-31 20:09:02 +00:00

Use no-route instead of unknown-response for ARP failure

This commit is contained in:
dmiller
2024-09-20 17:25:59 +00:00
parent 3d99250c83
commit f43fdaa1d7

View File

@@ -548,6 +548,7 @@ static void refresh_hostbatch(HostGroupState *hs, struct addrset *exclude_group,
error("%s: Failed to determine dst MAC address for target %s",
__func__, hs->hostbatch[i]->NameIP());
hs->hostbatch[i]->flags = HOST_DOWN;
hs->hostbatch[i]->reason.reason_id = ER_NOROUTE;
}
}
}