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:
1
tcpip.cc
1
tcpip.cc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user