1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-05 14:09:02 +00:00

fixed an arp cache bug

This commit is contained in:
fyodor
2005-07-26 06:52:38 +00:00
parent cb8acca539
commit b0946e06fd

View File

@@ -1937,6 +1937,7 @@ bool setTargetNextHopMAC(Target *target) {
if (arp_get(a, &ae) == 0) {
NmapArpCache(ARPCACHE_SET, &targetss, ae.arp_ha.addr_eth.data);
target->setNextHopMACAddress(ae.arp_ha.addr_eth.data);
return true;
}
/* OK, the last choice is to send our own damn ARP request (and