mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-23 22:56:00 +00:00
Fix bug #47731: IGMP state transition missing
Set state variable according to RFC 2236 on timeout in delaying member state
This commit is contained in:
parent
b33070e0cf
commit
8f8f56914b
|
@ -665,6 +665,8 @@ igmp_timeout(struct netif *netif, struct igmp_group *group)
|
||||||
ip4_addr_debug_print(IGMP_DEBUG, &(group->group_address));
|
ip4_addr_debug_print(IGMP_DEBUG, &(group->group_address));
|
||||||
LWIP_DEBUGF(IGMP_DEBUG, (" on if %p\n", (void*)netif));
|
LWIP_DEBUGF(IGMP_DEBUG, (" on if %p\n", (void*)netif));
|
||||||
|
|
||||||
|
group->group_state = IGMP_GROUP_IDLE_MEMBER;
|
||||||
|
|
||||||
IGMP_STATS_INC(igmp.tx_report);
|
IGMP_STATS_INC(igmp.tx_report);
|
||||||
igmp_send(netif, group, IGMP_V2_MEMB_REPORT);
|
igmp_send(netif, group, IGMP_V2_MEMB_REPORT);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user