mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
add: comment about endianness
This commit is contained in:
parent
ed3a794c9b
commit
94d6333107
|
@ -233,6 +233,7 @@ int pack_nodes(uint8_t *data, uint16_t length, const Node_format *nodes, uint16_
|
|||
int ipv6 = -1;
|
||||
uint8_t net_family;
|
||||
|
||||
// FIXME use functions to convert endianness
|
||||
if (nodes[i].ip_port.ip.family == AF_INET) {
|
||||
ipv6 = 0;
|
||||
net_family = TOX_AF_INET;
|
||||
|
|
Loading…
Reference in New Issue
Block a user