mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 20:54:32 +02:00
lwip fix for udp receivefrom
This commit is contained in:
@@ -1075,7 +1075,8 @@ lwip_recvfrom(int s, void *mem, size_t len, int flags,
|
|||||||
|
|
||||||
/* Check to see from where the data was.*/
|
/* Check to see from where the data was.*/
|
||||||
if (done) {
|
if (done) {
|
||||||
#if !SOCKETS_DEBUG
|
/* enabling the UDP fix for ESP32 below when SOCKET_DEBUG is off */
|
||||||
|
#if !SOCKETS_DEBUG && !ESP_LWIP
|
||||||
if (from && fromlen)
|
if (from && fromlen)
|
||||||
#endif /* !SOCKETS_DEBUG */
|
#endif /* !SOCKETS_DEBUG */
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user