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:
parent
479443eae0
commit
28624aa37b
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user