diff options
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r-- | toxcore/tox.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c index 5e3893ec..31ae9c0f 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -374,11 +374,11 @@ void tox_bootstrap(void *tox, IP_Port ip_port, uint8_t *public_key) | |||
374 | Messenger *m = tox; | 374 | Messenger *m = tox; |
375 | DHT_bootstrap(m->dht, ip_port, public_key); | 375 | DHT_bootstrap(m->dht, ip_port, public_key); |
376 | } | 376 | } |
377 | int tox_bootstrap_ex(void *tox, const char *address, uint8_t ipv6enabled, | 377 | int tox_bootstrap_from_address(void *tox, const char *address, |
378 | uint16_t port, uint8_t *public_key) | 378 | uint8_t ipv6enabled, uint16_t port, uint8_t *public_key) |
379 | { | 379 | { |
380 | Messenger *m = tox; | 380 | Messenger *m = tox; |
381 | return DHT_bootstrap_ex(m->dht, address, ipv6enabled, port, public_key); | 381 | return DHT_bootstrap_from_address(m->dht, address, ipv6enabled, port, public_key); |
382 | }; | 382 | }; |
383 | 383 | ||
384 | /* return 0 if we are not connected to the DHT. | 384 | /* return 0 if we are not connected to the DHT. |