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/netinet6/ip6_input.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/netinet6/ip6_input.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.78.2.7 retrieving revision 1.109.4.3 diff -u -p -r1.78.2.7 -r1.109.4.3 --- src/sys/netinet6/ip6_input.c 2007/12/07 17:34:36 1.78.2.7 +++ src/sys/netinet6/ip6_input.c 2007/10/31 23:14:11 1.109.4.3 @@ -1,4 +1,4 @@ -/* $NetBSD: ip6_input.c,v 1.78.2.7 2007/12/07 17:34:36 yamt Exp $ */ +/* $NetBSD: ip6_input.c,v 1.109.4.3 2007/10/31 23:14:11 joerg Exp $ */ /* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */ /* @@ -62,7 +62,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ip6_input.c,v 1.78.2.7 2007/12/07 17:34:36 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ip6_input.c,v 1.109.4.3 2007/10/31 23:14:11 joerg Exp $"); #include "opt_inet.h" #include "opt_inet6.h" @@ -559,7 +559,7 @@ ip6_input(struct mbuf *m) * working right. */ struct ifaddr *ifa; - IFADDR_FOREACH(ifa, m->m_pkthdr.rcvif) { + TAILQ_FOREACH(ifa, &m->m_pkthdr.rcvif->if_addrlist, ifa_list) { if (ifa->ifa_addr == NULL) continue; /* just for safety */ if (ifa->ifa_addr->sa_family != AF_INET6)