Author: bz Date: Mon Oct 4 07:00:47 2010 New Revision: 213400 URL: http://svn.freebsd.org/changeset/base/213400
Log: MFC r213325: Proper bracketing. Submitted by: SunMinghao (sunminghao hotmail.com) PR: kern/151100 Modified: stable/8/sys/netinet/igmp.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/netinet/igmp.c ============================================================================== --- stable/8/sys/netinet/igmp.c Mon Oct 4 06:49:12 2010 (r213399) +++ stable/8/sys/netinet/igmp.c Mon Oct 4 07:00:47 2010 (r213400) @@ -1219,8 +1219,8 @@ igmp_input_v1_report(struct ifnet *ifp, if (ifp->if_flags & IFF_LOOPBACK) return (0); - if (!IN_MULTICAST(ntohl(igmp->igmp_group.s_addr) || - !in_hosteq(igmp->igmp_group, ip->ip_dst))) { + if (!IN_MULTICAST(ntohl(igmp->igmp_group.s_addr)) || + !in_hosteq(igmp->igmp_group, ip->ip_dst)) { IGMPSTAT_INC(igps_rcv_badreports); return (EINVAL); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"