projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make LocalDiscovery work for SPTPS packets.
[tinc]
/
src
/
net.c
diff --git
a/src/net.c
b/src/net.c
index
286f157
..
baf576d
100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-129,6
+129,12
@@
void terminate_connection(connection_t *c, bool report) {
if(outgoing)
do_outgoing_connection(outgoing);
if(outgoing)
do_outgoing_connection(outgoing);
+
+#ifndef HAVE_MINGW
+ /* Clean up dead proxy processes */
+
+ while(waitpid(-1, NULL, WNOHANG) > 0);
+#endif
}
/*
}
/*