summaryrefslogtreecommitdiff
path: root/other/DHT_bootstrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'other/DHT_bootstrap.c')
-rw-r--r--other/DHT_bootstrap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/other/DHT_bootstrap.c b/other/DHT_bootstrap.c
index 60298544..6460be9d 100644
--- a/other/DHT_bootstrap.c
+++ b/other/DHT_bootstrap.c
@@ -30,8 +30,9 @@
30#endif 30#endif
31 31
32#include "../toxcore/DHT.h" 32#include "../toxcore/DHT.h"
33#include "../toxcore/friend_requests.h"
34#include "../toxcore/LAN_discovery.h" 33#include "../toxcore/LAN_discovery.h"
34#include "../toxcore/friend_requests.h"
35#include "../toxcore/logger.h"
35#include "../toxcore/tox.h" 36#include "../toxcore/tox.h"
36#include "../toxcore/util.h" 37#include "../toxcore/util.h"
37 38
@@ -115,7 +116,8 @@ int main(int argc, char *argv[])
115 IP ip; 116 IP ip;
116 ip_init(&ip, ipv6enabled); 117 ip_init(&ip, ipv6enabled);
117 118
118 DHT *dht = new_DHT(nullptr, new_networking(nullptr, ip, PORT), true); 119 Logger *logger = logger_new();
120 DHT *dht = new_DHT(logger, new_networking(nullptr, ip, PORT), true);
119 Onion *onion = new_onion(dht); 121 Onion *onion = new_onion(dht);
120 Onion_Announce *onion_a = new_onion_announce(dht); 122 Onion_Announce *onion_a = new_onion_announce(dht);
121 123