summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/igmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c
index d4c8e99..b02d30b 100644
--- a/sys/netinet/igmp.c
+++ b/sys/netinet/igmp.c
@@ -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);
}
OpenPOWER on IntegriCloud