summaryrefslogtreecommitdiff
path: root/toxcore/LAN_discovery.c
diff options
context:
space:
mode:
authorCoren[m] <Break@Ocean>2013-09-27 21:34:13 +0200
committerCoren[m] <Break@Ocean>2013-09-27 21:34:13 +0200
commitf7f670bf7c5a282d56257876394115e462a052d2 (patch)
treed49d003e882d297fe899a55b6acef6f4839d9715 /toxcore/LAN_discovery.c
parent483a6cc161447bf94068ffaad463a9c7ee88d30d (diff)
don't lose globally valid addresses for locally valid ones
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 cf4196d2..1e4fa125 100644
--- a/toxcore/LAN_discovery.c
+++ b/toxcore/LAN_discovery.c
@@ -130,7 +130,7 @@ static IP broadcast_ip(sa_family_t family_socket, sa_family_t family_broadcast)
130/* return 0 if ip is a LAN ip. 130/* return 0 if ip is a LAN ip.
131 * return -1 if it is not. 131 * return -1 if it is not.
132 */ 132 */
133static int LAN_ip(IP ip) 133int LAN_ip(IP ip)
134{ 134{
135#ifdef TOX_ENABLE_IPV6 135#ifdef TOX_ENABLE_IPV6
136 136