lwip fix for udp receivefrom

pull/2237/head
David Cermak 2018-06-05 09:47:16 +02:00 zatwierdzone przez bot
rodzic 97286b3107
commit eee34ddd91
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -1075,7 +1075,8 @@ lwip_recvfrom(int s, void *mem, size_t len, int flags,
/* Check to see from where the data was.*/
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)
#endif /* !SOCKETS_DEBUG */
{