summaryrefslogtreecommitdiff
path: root/toxcore/LAN_discovery.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/LAN_discovery.h')
-rw-r--r--toxcore/LAN_discovery.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/LAN_discovery.h b/toxcore/LAN_discovery.h
index 5a790331..e570908e 100644
--- a/toxcore/LAN_discovery.h
+++ b/toxcore/LAN_discovery.h
@@ -28,7 +28,7 @@
28 28
29#include "DHT.h" 29#include "DHT.h"
30 30
31/* used for get_broadcast() */ 31/* used for get_broadcast(). */
32#ifdef __linux 32#ifdef __linux
33#include <sys/ioctl.h> 33#include <sys/ioctl.h>
34#include <arpa/inet.h> 34#include <arpa/inet.h>
@@ -39,11 +39,11 @@
39extern "C" { 39extern "C" {
40#endif 40#endif
41 41
42/*Send a LAN discovery pcaket to the broadcast address with port port*/ 42/* Send a LAN discovery pcaket to the broadcast address with port port. */
43int send_LANdiscovery(uint16_t port, Net_Crypto *c); 43int send_LANdiscovery(uint16_t port, Net_Crypto *c);
44 44
45 45
46/* sets up packet handlers */ 46/* Sets up packet handlers. */
47void LANdiscovery_init(DHT *dht); 47void LANdiscovery_init(DHT *dht);
48 48
49 49