Proper bracketing.
PR: kern/151100 Submitted by: SunMinghao (sunminghao hotmail.com) MFC after: 3 days
This commit is contained in:
parent
a15cc72e0c
commit
544794507a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213325
@ -1219,8 +1219,8 @@ igmp_input_v1_report(struct ifnet *ifp, /*const*/ struct ip *ip,
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user