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:
commit
6802f9eec1
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 */
|
err_t err = ERR_VAL; /* no matching interface */
|
||||||
struct netif *netif;
|
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 */
|
/* loop through netif's */
|
||||||
netif = netif_list;
|
netif = netif_list;
|
||||||
while (netif != NULL) {
|
while (netif != NULL) {
|
||||||
|
|
Loading…
Reference in a new issue