diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-19 05:00:05 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-19 05:00:05 +0000 |
commit | dd9228b861e41c816b31035ce9c2dfa3e5b5dc97 (patch) | |
tree | c98c709ef20814eff1ab22d25095dbd13667d0d0 /networking/telnetd.c | |
parent | c0183e6e0d0ad0b60b8891cd0a1eeabf3406805c (diff) | |
download | busybox-w32-dd9228b861e41c816b31035ce9c2dfa3e5b5dc97.tar.gz busybox-w32-dd9228b861e41c816b31035ce9c2dfa3e5b5dc97.tar.bz2 busybox-w32-dd9228b861e41c816b31035ce9c2dfa3e5b5dc97.zip |
tftpd: make it emit error packets
telnetd: use login always, not "sometimes login, sometimes shell"
text data bss dec hex filename
797612 641 7380 805633 c4b01 busybox_old
797695 641 7380 805716 c4b54 busybox_unstripped
Diffstat (limited to 'networking/telnetd.c')
-rw-r--r-- | networking/telnetd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/networking/telnetd.c b/networking/telnetd.c index 2ed3b74bc..5188edbab 100644 --- a/networking/telnetd.c +++ b/networking/telnetd.c | |||
@@ -56,11 +56,7 @@ enum { BUFSIZE = (4 * 1024 - sizeof(struct tsession)) / 2 }; | |||
56 | /* Globals */ | 56 | /* Globals */ |
57 | static int maxfd; | 57 | static int maxfd; |
58 | static struct tsession *sessions; | 58 | static struct tsession *sessions; |
59 | #if ENABLE_LOGIN | ||
60 | static const char *loginpath = "/bin/login"; | 59 | static const char *loginpath = "/bin/login"; |
61 | #else | ||
62 | static const char *loginpath = DEFAULT_SHELL; | ||
63 | #endif | ||
64 | static const char *issuefile = "/etc/issue.net"; | 60 | static const char *issuefile = "/etc/issue.net"; |
65 | 61 | ||
66 | 62 | ||