[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #39145] IGMP membership report for 224.0.0.1
From: |
Tomáš Poruba |
Subject: |
[lwip-devel] [bug #39145] IGMP membership report for 224.0.0.1 |
Date: |
Sat, 17 Dec 2016 10:14:12 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:50.0) Gecko/20100101 Firefox/50.0 |
Follow-up Comment #2, bug #39145 (project lwip):
Hi,
I use lwip 1.4.1. I move the fix of this problem from lwip 2.0.0, it is in
igmp_report_groups function:
/* Skip the first group in the list, it is always the allsystems group added
in igmp_start() */
if(group != NULL) {
group = group->next;
}
I join to six multicast groups in my app. The last joined group is assigned
to igmp_group_list. When netif is down and up it reports a the allsystems
group (because it is last no first in list) + my five multicast IPs. The sixth
IP address is not reported.
When I take a look on lwip 2.0.0 source code, there shoud be the same
problem.
Michaels fix is working and finaly i have to use
while (group != NULL) {
if ((group->netif == netif) && (group->next != NULL)) {
igmp_delaying_member(group, IGMP_JOIN_DELAYING_MEMBER_TMR);
}
group = group->next;
}
Regards
Tomas Poruba
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?39145>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #39145] IGMP membership report for 224.0.0.1,
Tomáš Poruba <=