mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
fix bug in storing UDP remote address (#6263)
This commit is contained in:
parent
6bd4b1c4f7
commit
3f0f2143f8
@ -475,7 +475,7 @@ private:
|
|||||||
}
|
}
|
||||||
// construct in place
|
// construct in place
|
||||||
new(PBUF_ALIGNER(pb_helper->payload)) AddrHelper(srcaddr, TEMPDSTADDR, srcport);
|
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
|
// chain it
|
||||||
pbuf_cat(_rx_buf, pb_helper);
|
pbuf_cat(_rx_buf, pb_helper);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user