mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add MLVPN package
This commit is contained in:
parent
a20b172cd8
commit
cf95f2d836
5 changed files with 185 additions and 0 deletions
11
mlvpn/patches/010-musl-fix.patch
Normal file
11
mlvpn/patches/010-musl-fix.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/src/privsep.c
|
||||
+++ b/src/privsep.c
|
||||
@@ -778,7 +778,7 @@ sig_got_chld(int sig)
|
||||
pid_t pid;
|
||||
|
||||
do {
|
||||
- pid = waitpid(WAIT_ANY, NULL, WNOHANG);
|
||||
+ pid = waitpid(-1, NULL, WNOHANG);
|
||||
if (pid == child_pid && cur_state < STATE_QUIT)
|
||||
cur_state = STATE_QUIT;
|
||||
} while (pid > 0 || (pid == -1 && errno == EINTR));
|
Loading…
Add table
Add a link
Reference in a new issue