From b0946e06fde601dd4df32e5765a5f241ba255f95 Mon Sep 17 00:00:00 2001 From: fyodor Date: Tue, 26 Jul 2005 06:52:38 +0000 Subject: [PATCH] fixed an arp cache bug --- tcpip.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/tcpip.cc b/tcpip.cc index b0da1d848..f8201758f 100644 --- a/tcpip.cc +++ b/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