Date: Sat, 1 Jul 2006 03:35:50 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Yar Tikhiy <yar@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/net if.c if_atmsubr.c if_stf.c if_tun.c src/sys/netinet if_ether.c ip_divert.c ip_fw2.c src/sys/netinet6 in6.c in6_var.h src/sys/nfsclient bootp_subr.c nfs_diskless.c Message-ID: <20060701003550.GA42036@gothmog.pc> In-Reply-To: <20060701003326.GA41947@gothmog.pc> References: <200606291922.k5TJM5ev007314@repoman.freebsd.org> <20060701003326.GA41947@gothmog.pc>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-07-01 03:33, Giorgos Keramidas <keramida@freebsd.org> wrote: > TAILQ_FOREACH(ifa, &ifp->if_addrlist, ifa_list) { > KASSERT(ifa->ifa_addr == NULL, > ("ifa %p has no ifa_addr", ifa)); > if (ifa->ifa_addr->sa_family != AF_INET6) > continue; > ifacount++; The check should be the inverse, of course. Bleh! I shouldn't post too fast so late in the night :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060701003550.GA42036>