forked from espressif/esp-idf
Merge branch 'bugfix/esp_netif_ip6_multicast_api' into 'master'
esp_netif: Fix inversion error in leave_ipv6 api (GitHub PR) Closes IDFGH-7412 See merge request espressif/esp-idf!18184
This commit is contained in:
@@ -2000,7 +2000,7 @@ static esp_err_t esp_netif_leave_ip6_multicast_group_api(esp_netif_api_msg_t *ms
|
|||||||
#if LWIP_IPV6_SCOPES
|
#if LWIP_IPV6_SCOPES
|
||||||
ip6addr.zone = 0;
|
ip6addr.zone = 0;
|
||||||
#endif
|
#endif
|
||||||
ESP_RETURN_ON_FALSE(mld6_leavegroup_netif(msg->esp_netif->lwip_netif, &ip6addr) != ERR_OK,
|
ESP_RETURN_ON_FALSE(mld6_leavegroup_netif(msg->esp_netif->lwip_netif, &ip6addr) == ERR_OK,
|
||||||
ESP_ERR_ESP_NETIF_MLD6_FAILED, TAG, "Failed to leave ip6 multicast group");
|
ESP_ERR_ESP_NETIF_MLD6_FAILED, TAG, "Failed to leave ip6 multicast group");
|
||||||
return ESP_OK;
|
return ESP_OK;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user