fix ipv6 bug that input the wrong broadcast address to return OK
This commit is contained in:
parent
94e2981d17
commit
61dac00099
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue