diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-02-26 20:24:59 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-02-26 20:24:59 +0000 |
commit | 165639d0824c04f98c1cdb2eca6371742a905bba (patch) | |
tree | 2f91b66f8771fc94fc2a4fc560f3f4a30c2cd029 /sys | |
parent | 9195fa8f9cdbeb90d65ff997075bbf288e0c3343 (diff) |
Cut/pasto: don't forget to scan for the source address
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/if_ether.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |