diff options
author | sin <sin@2f30.org> | 2014-09-21 19:27:22 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-09-21 19:27:22 +0100 |
commit | 160cdde66877174874dbd7dcc1d6755eb30a0cd8 (patch) | |
tree | 0545530d63f241038043ab073331165bf9fff4a9 /ratox.c | |
parent | 3b3effc32a2ba91444683266cf4ea061d5081ee2 (diff) |
Lay the ground for IPv6 support
Diffstat (limited to 'ratox.c')
-rw-r--r-- | ratox.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -37,7 +37,8 @@ const char *reqerr[] = { }; struct node { - char *addr; + char *addr4; + char *addr6; uint16_t port; char *idstr; }; @@ -743,7 +744,7 @@ toxconnect(void) for (i = 0; i < LEN(nodes); i++) { n = &nodes[i]; str2id(n->idstr, id); - tox_bootstrap_from_address(tox, n->addr, n->port, id); + tox_bootstrap_from_address(tox, n->addr4, n->port, id); } return 0; } |