1
0
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:
Martine Lenders 2016-08-30 22:35:00 +02:00 committed by GitHub
commit 9ba68cc88d

View File

@ -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));