Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jan 1996 00:29:18 -0800
From:      David Greenman <davidg@Root.COM>
To:        Dave Marquardt <marquard@austin.ibm.com>
Cc:        freebsd-bugs@freefall.freebsd.org
Subject:   Re: kern/923: Multicast problems on point-to-point interfaces 
Message-ID:  <199601090829.AAA00286@corbin.Root.COM>
In-Reply-To: Your message of "Mon, 08 Jan 96 20:20:04 PST." <199601090420.UAA06221@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > + 	if (ia == NULL) \
> > + 	    for (ia = in_ifaddr; \
> > + 		ia != NULL; \
> > + 		ia = ia->ia_next) \
> > + 		    if (ia->ia_ifp->if_flags & IFF_POINTOPOINT && \
> > + 			IA_SIN(ia)->sin_addr.s_addr != (addr).s_addr) \
>                                                     ^^
> 
> Seems like that should be ==, shouldn't it?  With !=, you quit on the
> first interface whose address DOESN'T match, which I don't think is
> what was intended.

   Thanks, Dave, for noticing this. The correction has been made to the
sources...

-DG

David Greenman
Core Team/Principal Architect, The FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601090829.AAA00286>