Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 1996 07:10:04 -0800 (PST)
From:      Bill Fenner <fenner@parc.xerox.com>
To:        freebsd-bugs
Subject:   Re: kern/923: Multicast problems on point-to-point interfaces 
Message-ID:  <199601031510.HAA12514@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/923; it has been noted by GNATS.

From: Bill Fenner <fenner@parc.xerox.com>
To: Bill Fenner <fenner@parc.xerox.com>
Cc: wollman@lcs.mit.edu, marquard@austin.ibm.com,
        FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/923: Multicast problems on point-to-point interfaces 
Date: Wed, 3 Jan 1996 07:04:47 PST

 In message <96Jan2.171459pst.177478@crevenia.parc.xerox.com> I wrote:
 >*** in_var.h.old	Tue Nov 14 14:52:43 1995
 >--- in_var.h	Tue Jan  2 17:11:10 1996
 
 Ugh.  I really shouldn't try writing code after two days of travel hell.
 Try this one:
 
 
 *** in_var.h.old	Tue Nov 14 14:52:43 1995
 --- in_var.h	Wed Jan  3 07:02:45 1996
 ***************
 *** 106,111 ****
 --- 106,118 ----
   		IA_DSTSIN(ia):IA_SIN(ia))->sin_addr.s_addr != (addr).s_addr; \
   	    ia = ia->ia_next) \
   		 continue; \
 + 	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) \
 + 			    break; \
   	(ifp) = (ia == NULL) ? NULL : ia->ia_ifp; \
   }
   
   Bill



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