lantiq: Tune the XWAY subtarget cflags
[openwrt/staging/yousong.git] / package / busybox / patches / 902-telnetd_intr.patch
index 1e3e6bf2fc4c77614af5288e1e4e1faacb37e3e5..862ece055de018eda4bd1e517b810d40ff5346fe 100644 (file)
@@ -1,10 +1,10 @@
 --- a/networking/telnetd.c
 +++ b/networking/telnetd.c
-@@ -308,6 +308,7 @@ make_new_session(
+@@ -330,6 +330,7 @@ make_new_session(
  
        /* Restore default signal handling ASAP */
        bb_signals((1 << SIGCHLD) + (1 << SIGPIPE), SIG_DFL);
 +      signal(SIGINT, SIG_DFL);
  
-       /* Make new session and process group */
-       setsid();
+       pid = getpid();