From 3f0f2143f85c05caeaf21e90e1d0ef7fce7200a3 Mon Sep 17 00:00:00 2001 From: david gauchard Date: Sat, 6 Jul 2019 12:30:40 +0200 Subject: [PATCH] fix bug in storing UDP remote address (#6263) --- libraries/ESP8266WiFi/src/include/UdpContext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/ESP8266WiFi/src/include/UdpContext.h b/libraries/ESP8266WiFi/src/include/UdpContext.h index 540217d2f..59403dbdf 100644 --- a/libraries/ESP8266WiFi/src/include/UdpContext.h +++ b/libraries/ESP8266WiFi/src/include/UdpContext.h @@ -475,7 +475,7 @@ private: } // construct in place new(PBUF_ALIGNER(pb_helper->payload)) AddrHelper(srcaddr, TEMPDSTADDR, srcport); - pb->flags = PBUF_HELPER_FLAG; // mark helper pbuf + pb_helper->flags = PBUF_HELPER_FLAG; // mark helper pbuf // chain it pbuf_cat(_rx_buf, pb_helper);