summaryrefslogtreecommitdiff
path: root/other/bootstrap_daemon
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-01-15 00:48:35 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-01-16 14:17:05 +0000
commit0b13936ce8498735e245531c222c035f41fd5e0f (patch)
treebafaef43863e822bbcb0c05192da0a973b3381a1 /other/bootstrap_daemon
parentb3ec05543acdc0019b545de170720dc32d8f28d3 (diff)
Use apidsl to generate LAN_discovery.h.
Diffstat (limited to 'other/bootstrap_daemon')
-rw-r--r--other/bootstrap_daemon/src/tox-bootstrapd.c4
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