2009-10-20 06:51:30 +00:00
|
|
|
--- a/networking/telnetd.c
|
|
|
|
+++ b/networking/telnetd.c
|
2010-08-15 10:06:58 +00:00
|
|
|
@@ -313,6 +313,7 @@ make_new_session(
|
2009-10-20 06:51:30 +00:00
|
|
|
|
|
|
|
/* Restore default signal handling ASAP */
|
|
|
|
bb_signals((1 << SIGCHLD) + (1 << SIGPIPE), SIG_DFL);
|
|
|
|
+ signal(SIGINT, SIG_DFL);
|
|
|
|
|
2010-08-15 10:06:58 +00:00
|
|
|
if (ENABLE_FEATURE_UTMP) {
|
|
|
|
len_and_sockaddr *lsa = get_peer_lsa(sock);
|