packages/net/sslh/patches/002-fork_fix.patch
florian 8a65962779 [package] allow restarting of server process only and add a killcients
function (#6027)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@18499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-23 18:03:30 +00:00

11 lines
174 B
Diff

--- a/sslh.c
+++ b/sslh.c
@@ -469,6 +469,7 @@
if (!fork())
{
+ close(listen_socket);
start_shoveler(in_socket);
exit(0);
}