Skip to content

Commit 94d6333

Browse files
author
Roman Proskuryakov
committed
add: comment about endianness
1 parent ed3a794 commit 94d6333

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

toxcore/DHT.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ int pack_nodes(uint8_t *data, uint16_t length, const Node_format *nodes, uint16_
233233
int ipv6 = -1;
234234
uint8_t net_family;
235235

236+
// FIXME use functions to convert endianness
236237
if (nodes[i].ip_port.ip.family == AF_INET) {
237238
ipv6 = 0;
238239
net_family = TOX_AF_INET;

0 commit comments

Comments
 (0)