Merge branch 'Bugfix/IPV6_multicast_adress_error_for_v3.1' into 'release/v3.1'

lw-ip:fix ipv6 bug that input the wrong broadcast address to return OK for v3.1

See merge request espressif/esp-idf!8190
This commit is contained in:
Jiang Jiang Jian 2020-04-08 17:58:57 +08:00
commit 6802f9eec1

View file

@ -322,6 +322,9 @@ mld6_joingroup(const ip6_addr_t *srcaddr, const ip6_addr_t *groupaddr)
err_t err = ERR_VAL; /* no matching interface */
struct netif *netif;
#if ESP_LWIP
LWIP_ERROR("mld6_joingroup: attempt to join non-multicast address", ip6_addr_ismulticast(groupaddr), return ERR_VAL;);
#endif
/* loop through netif's */
netif = netif_list;
while (netif != NULL) {