diff options
Diffstat (limited to 'other/bootstrap_daemon/src/tox-bootstrapd.c')
-rw-r--r-- | other/bootstrap_daemon/src/tox-bootstrapd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/other/bootstrap_daemon/src/tox-bootstrapd.c b/other/bootstrap_daemon/src/tox-bootstrapd.c index c3af4a10..c6780fa3 100644 --- a/other/bootstrap_daemon/src/tox-bootstrapd.c +++ b/other/bootstrap_daemon/src/tox-bootstrapd.c | |||
@@ -316,7 +316,7 @@ int main(int argc, char *argv[]) | |||
316 | int waiting_for_dht_connection = 1; | 316 | int waiting_for_dht_connection = 1; |
317 | 317 | ||
318 | if (enable_lan_discovery) { | 318 | if (enable_lan_discovery) { |
319 | LANdiscovery_init(dht); | 319 | lan_discovery_init(dht); |
320 | log_write(LOG_LEVEL_INFO, "Initialized LAN discovery successfully.\n"); | 320 | log_write(LOG_LEVEL_INFO, "Initialized LAN discovery successfully.\n"); |
321 | } | 321 | } |
322 | 322 | ||
@@ -324,7 +324,7 @@ int main(int argc, char *argv[]) | |||
324 | do_DHT(dht); | 324 | do_DHT(dht); |
325 | 325 | ||
326 | if (enable_lan_discovery && is_timeout(last_LANdiscovery, LAN_DISCOVERY_INTERVAL)) { | 326 | if (enable_lan_discovery && is_timeout(last_LANdiscovery, LAN_DISCOVERY_INTERVAL)) { |
327 | send_LANdiscovery(net_htons_port, dht); | 327 | lan_discovery_send(net_htons_port, dht); |
328 | last_LANdiscovery = unix_time(); | 328 | last_LANdiscovery = unix_time(); |
329 | } | 329 | } |
330 | 330 | ||