Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/netinet/ip_input.c,v retrieving revision 1.208 retrieving revision 1.209 diff -u -p -r1.208 -r1.209 --- src/sys/netinet/ip_input.c 2004/12/19 06:42:24 1.208 +++ src/sys/netinet/ip_input.c 2005/01/24 21:25:10 1.209 @@ -1,4 +1,4 @@ -/* $NetBSD: ip_input.c,v 1.208 2004/12/19 06:42:24 christos Exp $ */ +/* $NetBSD: ip_input.c,v 1.209 2005/01/24 21:25:10 matt Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -98,7 +98,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.208 2004/12/19 06:42:24 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.209 2005/01/24 21:25:10 matt Exp $"); #include "opt_inet.h" #include "opt_gateway.h" @@ -733,7 +733,7 @@ ip_input(struct mbuf *m) if (ia != NULL) goto ours; if (m->m_pkthdr.rcvif->if_flags & IFF_BROADCAST) { - TAILQ_FOREACH(ifa, &m->m_pkthdr.rcvif->if_addrlist, ifa_list) { + IFADDR_FOREACH(ifa, m->m_pkthdr.rcvif) { if (ifa->ifa_addr->sa_family != AF_INET) continue; ia = ifatoia(ifa);