X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/cbcb84e29cd690e03847aa1d0f2ccdf16f78ee76..23bd1bd8c77ebd8ee5650b4b3bd45fae2adfc85d:/package/busybox/patches/902-telnetd_intr.patch diff --git a/package/busybox/patches/902-telnetd_intr.patch b/package/busybox/patches/902-telnetd_intr.patch index c5c25dc84..862ece055 100644 --- a/package/busybox/patches/902-telnetd_intr.patch +++ b/package/busybox/patches/902-telnetd_intr.patch @@ -1,10 +1,10 @@ --- a/networking/telnetd.c +++ b/networking/telnetd.c -@@ -313,6 +313,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); - if (ENABLE_FEATURE_UTMP) { - len_and_sockaddr *lsa = get_peer_lsa(sock); + pid = getpid(); +