Attempt to complete the fix in the previous revision. This version
fixes the problem reported by max.
This commit is contained in:
parent
50aaa93770
commit
cbf5d94928
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)if_ether.c 8.1 (Berkeley) 6/10/93
|
||||
* $Id: if_ether.c,v 1.35 1996/11/15 18:50:31 fenner Exp $
|
||||
* $Id: if_ether.c,v 1.36 1996/12/14 17:49:58 dyson Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -450,7 +450,7 @@ in_arpinput(m)
|
||||
op = ntohs(ea->arp_op);
|
||||
(void)memcpy(&isaddr, ea->arp_spa, sizeof (isaddr));
|
||||
(void)memcpy(&itaddr, ea->arp_tpa, sizeof (itaddr));
|
||||
for (ia = in_ifaddrhead.tqh_first; ia; ia = ia->ia_next)
|
||||
for (ia = in_ifaddrhead.tqh_first; ia; ia = ia->ia_link.tqe_next)
|
||||
if (ia->ia_ifp == &ac->ac_if) {
|
||||
maybe_ia = ia;
|
||||
if ((itaddr.s_addr == ia->ia_addr.sin_addr.s_addr) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user