diff options
Diffstat (limited to 'toxcore/LAN_discovery.h')
-rw-r--r-- | toxcore/LAN_discovery.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toxcore/LAN_discovery.h b/toxcore/LAN_discovery.h index 5dffc3ad..5243bd93 100644 --- a/toxcore/LAN_discovery.h +++ b/toxcore/LAN_discovery.h | |||
@@ -37,6 +37,9 @@ int send_LANdiscovery(uint16_t port, DHT *dht); | |||
37 | /* Sets up packet handlers. */ | 37 | /* Sets up packet handlers. */ |
38 | void LANdiscovery_init(DHT *dht); | 38 | void LANdiscovery_init(DHT *dht); |
39 | 39 | ||
40 | /* Clear packet handlers. */ | ||
41 | void LANdiscovery_kill(DHT *dht); | ||
42 | |||
40 | /* checks if a given IP isn't routable | 43 | /* checks if a given IP isn't routable |
41 | * | 44 | * |
42 | * return 0 if ip is a LAN ip. | 45 | * return 0 if ip is a LAN ip. |