1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

gnrc_udp: add missing duplitation step

This commit is contained in:
Martine Lenders 2016-08-15 17:23:19 +02:00
parent 39ecc12d9d
commit af180ef2f1

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