From 165639d0824c04f98c1cdb2eca6371742a905bba Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Tue, 26 Feb 2002 20:24:59 +0000 Subject: Cut/pasto: don't forget to scan for the source address --- sys/netinet/if_ether.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index c811b72d526..8aa2154bbd2 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ether.c,v 1.36 2002/02/15 15:27:17 jason Exp $ */ +/* $OpenBSD: if_ether.c,v 1.37 2002/02/26 20:24:58 jason Exp $ */ /* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */ /* @@ -505,7 +505,7 @@ in_arpinput(m) if (ia == NULL) { TAILQ_FOREACH(ia, &in_ifaddr, ia_list) { - if (itaddr.s_addr != ia->ia_addr.sin_addr.s_addr) + if (isaddr.s_addr != ia->ia_addr.sin_addr.s_addr) continue; if (ia->ia_ifp == m->m_pkthdr.rcvif) break; -- cgit v1.2.3