mirror of
https://github.com/nmap/nmap.git
synced 2026-06-24 18:18:08 +00:00
fixed an arp cache bug
This commit is contained in:
parent
cb8acca539
commit
b0946e06fd
1 changed files with 1 additions and 0 deletions
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue