summaryrefslogtreecommitdiff
path: root/toxcore/LAN_discovery.c
diff options
context:
space:
mode:
authorJamoBox <petewicken@gmail.com>2013-09-02 13:41:43 +0100
committerJamoBox <petewicken@gmail.com>2013-09-02 13:41:43 +0100
commit433cc9c8b255f62b912ae2b81d99838577ecf261 (patch)
treed6f952d2d3c96af0a14225f8dec5d95e9d8ffae7 /toxcore/LAN_discovery.c
parent925f63f49319bdfc69d29747e81f3c5bdea1eba5 (diff)
Even more comment updates.
Diffstat (limited to 'toxcore/LAN_discovery.c')
-rw-r--r--toxcore/LAN_discovery.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/toxcore/LAN_discovery.c b/toxcore/LAN_discovery.c
index 80cebcad..4ccb893b 100644
--- a/toxcore/LAN_discovery.c
+++ b/toxcore/LAN_discovery.c
@@ -27,8 +27,9 @@
27 27
28#ifdef __linux 28#ifdef __linux
29/* Get the first working broadcast address that's not from "lo". 29/* Get the first working broadcast address that's not from "lo".
30 * returns higher than 0 on success. 30 *
31 * returns 0 on error. 31 * return higher than 0 on success.
32 * return 0 on error.
32 */ 33 */
33static uint32_t get_broadcast(void) 34static uint32_t get_broadcast(void)
34{ 35{
@@ -100,8 +101,8 @@ static IP broadcast_ip(void)
100 return ip; 101 return ip;
101} 102}
102 103
103/* return 0 if ip is a LAN ip. 104/* return 0 if ip is a LAN ip.
104 * return -1 if it is not. 105 * return -1 if it is not.
105 */ 106 */
106static int LAN_ip(IP ip) 107static int LAN_ip(IP ip)
107{ 108{