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 115b626d..22ea466a 100644
--- a/toxcore/LAN_discovery.c
+++ b/toxcore/LAN_discovery.c
@@ -235,7 +235,7 @@ static IP broadcast_ip(sa_family_t family_socket, sa_family_t family_broadcast)
235} 235}
236 236
237/* Is IP a local ip or not. */ 237/* Is IP a local ip or not. */
238_Bool Local_ip(IP ip) 238bool Local_ip(IP ip)
239{ 239{
240 if (ip.family == AF_INET) { 240 if (ip.family == AF_INET) {
241 IP4 ip4 = ip.ip4; 241 IP4 ip4 = ip.ip4;