net/igmp and net/mld: Fix problem when both IGMP and MLD are enabled. The cannot share the same group list in the network devices structure.

This commit is contained in:
Gregory Nutt
2018-11-03 07:06:30 -06:00
parent 42a018747e
commit 863f617262
11 changed files with 25 additions and 17 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ void igmp_input(struct net_driver_s *dev)
}
IGMP_STATINCR(g_netstats.igmp.query_received);
for (member = (FAR struct igmp_group_s *)dev->grplist.head;
for (member = (FAR struct igmp_group_s *)dev->d_igmp_grplist.head;
member;
member = member->next)
{