mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 22:13:52 +01:00
Merge pull request #5749 from miri64/gnrc_udp/fix/missing-duplication
gnrc_udp: add missing duplitation step
This commit is contained in:
commit
9ba68cc88d
@ -198,6 +198,7 @@ static void _send(gnrc_pktsnip_t *pkt)
|
||||
gnrc_pktbuf_release(pkt);
|
||||
return;
|
||||
}
|
||||
tmp->next = udp_snip;
|
||||
hdr = (udp_hdr_t *)udp_snip->data;
|
||||
/* fill in size field */
|
||||
hdr->length = byteorder_htons(gnrc_pkt_len(udp_snip));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user