mirror of
https://github.com/espressif/esp-lwip.git
synced 2026-08-21 09:20:09 +00:00
fix ipv6 bug that input the wrong broadcast address to return OK
This commit is contained in:
@@ -305,6 +305,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;
|
||||
|
||||
Reference in New Issue
Block a user