summaryrefslogtreecommitdiff
path: root/toxcore/LAN_discovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/LAN_discovery.c')
-rw-r--r--toxcore/LAN_discovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/LAN_discovery.c b/toxcore/LAN_discovery.c
index 5ab5b0e1..44684e8f 100644
--- a/toxcore/LAN_discovery.c
+++ b/toxcore/LAN_discovery.c
@@ -306,7 +306,7 @@ int LAN_ip(IP ip)
306 return -1; 306 return -1;
307} 307}
308 308
309static int handle_LANdiscovery(void *object, IP_Port source, const uint8_t *packet, uint16_t length) 309static int handle_LANdiscovery(void *object, IP_Port source, const uint8_t *packet, uint16_t length, void *userdata)
310{ 310{
311 DHT *dht = object; 311 DHT *dht = object;
312 312