svn commit: r213400 - stable/8/sys/netinet
Bjoern A. Zeeb
bz at FreeBSD.org
Mon Oct 4 07:00:47 UTC 2010
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);
}
More information about the svn-src-stable
mailing list