From dc9ffa6e56ace8eac909db11381b9a8d0513864f Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Thu, 14 Aug 2014 19:51:52 -0400 Subject: [PATCH] ipv6enabled parameter was removed in toxcore. Signed-off-by: Loui Chang --- src/global_commands.c | 2 +- src/toxic.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/global_commands.c b/src/global_commands.c index 72ad595..25da12a 100644 --- a/src/global_commands.c +++ b/src/global_commands.c @@ -209,7 +209,7 @@ void cmd_connect(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv) } char *binary_string = hex_string_to_bin(key); - tox_bootstrap_from_address(m, ip, TOX_ENABLE_IPV6_DEFAULT, htons(atoi(port)), (uint8_t *) binary_string); + tox_bootstrap_from_address(m, ip, htons(atoi(port)), (uint8_t *) binary_string); free(binary_string); } diff --git a/src/toxic.c b/src/toxic.c index 08b943a..326c461 100644 --- a/src/toxic.c +++ b/src/toxic.c @@ -286,8 +286,7 @@ static int load_nodelist(const char *filename) int init_connection_helper(Tox *m, int line) { - return tox_bootstrap_from_address(m, toxNodes.nodes[line], TOX_ENABLE_IPV6_DEFAULT, - toxNodes.ports[line], (uint8_t *) toxNodes.keys[line]); + return tox_bootstrap_from_address(m, toxNodes.nodes[line], toxNodes.ports[line], (uint8_t *) toxNodes.keys[line]); } /* Connects to a random DHT node listed in the DHTnodes file