diff options
author | irungentoo <irungentoo@gmail.com> | 2013-09-02 15:59:28 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-09-02 15:59:28 -0400 |
commit | a4bf25801d510d606674afabf073f5eedf1b0efc (patch) | |
tree | cbfb093cdb2c694a861bdf86f73bcd3d3d8e676a /toxcore/LAN_discovery.c | |
parent | 25480852ac1cb868c2138eb7be5decc2b8271682 (diff) | |
parent | 61880ab9380f3a71ae1f51df7b6f4836059c041f (diff) |
Merge branch 'master' of https://github.com/JamoBox/ProjectTox-Core into JamoBox-master
Diffstat (limited to 'toxcore/LAN_discovery.c')
-rw-r--r-- | toxcore/LAN_discovery.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/toxcore/LAN_discovery.c b/toxcore/LAN_discovery.c index 4662bc8e..8998e0a9 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 | */ |
33 | static uint32_t get_broadcast(void) | 34 | static 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 | */ |
106 | static int LAN_ip(IP ip) | 107 | static int LAN_ip(IP ip) |
107 | { | 108 | { |