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:
parent
39ecc12d9d
commit
af180ef2f1
@ -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…
Reference in New Issue
Block a user