Skip to content

Commit 3f0f214

Browse files
authored
fix bug in storing UDP remote address (#6263)
1 parent 6bd4b1c commit 3f0f214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP8266WiFi/src/include/UdpContext.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ class UdpContext
475475
}
476476
// construct in place
477477
new(PBUF_ALIGNER(pb_helper->payload)) AddrHelper(srcaddr, TEMPDSTADDR, srcport);
478-
pb->flags = PBUF_HELPER_FLAG; // mark helper pbuf
478+
pb_helper->flags = PBUF_HELPER_FLAG; // mark helper pbuf
479479
// chain it
480480
pbuf_cat(_rx_buf, pb_helper);
481481

0 commit comments

Comments
 (0)