fix ipv6 bug that input the wrong broadcast address to return OK

This commit is contained in:
xueyunfei 2020-03-31 19:27:40 +08:00
parent 94e2981d17
commit 61dac00099

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) {