1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-28 07:51:19 +01:00

another NTOHS was missing...

This commit is contained in:
Oleg Hahm 2013-11-23 18:29:09 +01:00
parent 479443eae0
commit 28624aa37b

View File

@ -1019,7 +1019,7 @@ int32_t destiny_socket_sendto(int s, const void *buf, uint32_t len, int flags,
ipv6_sendto(&to->sin6_addr, IPPROTO_UDP,
(uint8_t *)(current_udp_packet),
NTOHS(current_udp_packet->length));
return current_udp_packet->length;
return NTOHS(current_udp_packet->length);
}
else {
return -1;