projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename setup_network_connections() and split out try_outgoing_connections()
[tinc]
/
src
/
tincd.c
diff --git
a/src/tincd.c
b/src/tincd.c
index
f909d9a
..
6fa8785
100644
(file)
--- a/
src/tincd.c
+++ b/
src/tincd.c
@@
-500,13
+500,16
@@
int main2(int argc, char **argv)
if(!detach())
return 1;
if(!detach())
return 1;
-
/* Setup sockets and open device. */
/* Setup sockets and open device. */
- if(!setup_network
_connections
())
+ if(!setup_network())
goto end;
goto end;
+ /* Initiate all outgoing connections. */
+
+ try_outgoing_connections();
+
/* Start main loop. It only exits when tinc is killed. */
status = main_loop();
/* Start main loop. It only exits when tinc is killed. */
status = main_loop();