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