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:
Dirk Ziegelmeier 2016-10-01 21:27:00 +02:00
parent b33070e0cf
commit 8f8f56914b

View File

@ -665,6 +665,8 @@ igmp_timeout(struct netif *netif, struct igmp_group *group)
ip4_addr_debug_print(IGMP_DEBUG, &(group->group_address));
LWIP_DEBUGF(IGMP_DEBUG, (" on if %p\n", (void*)netif));
group->group_state = IGMP_GROUP_IDLE_MEMBER;
IGMP_STATS_INC(igmp.tx_report);
igmp_send(netif, group, IGMP_V2_MEMB_REPORT);
}