From ce00153c1fa57b6ed03b1881483ac4f27a780208 Mon Sep 17 00:00:00 2001 From: David Greenman Date: Tue, 9 Jan 1996 08:26:07 +0000 Subject: [PATCH] Fix logic bug (!= should be ==) in recent P2P/multicast kludge. Reviewed by: Bill Fenner Submitted by: Dave Marquardt --- sys/netinet/in_var.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/in_var.h b/sys/netinet/in_var.h index 311fca74aa7f..52337130a7db 100644 --- a/sys/netinet/in_var.h +++ b/sys/netinet/in_var.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)in_var.h 8.2 (Berkeley) 1/9/95 - * $Id: in_var.h,v 1.13 1995/12/19 20:46:14 wollman Exp $ + * $Id: in_var.h,v 1.14 1996/01/03 20:24:33 wollman Exp $ */ #ifndef _NETINET_IN_VAR_H_ @@ -111,7 +111,7 @@ extern int rtq_toomany; /* XXX */ ia != NULL; \ ia = ia->ia_next) \ if (ia->ia_ifp->if_flags & IFF_POINTOPOINT && \ - IA_SIN(ia)->sin_addr.s_addr != (addr).s_addr) \ + IA_SIN(ia)->sin_addr.s_addr == (addr).s_addr) \ break; \ (ifp) = (ia == NULL) ? NULL : ia->ia_ifp; \ }