summaryrefslogtreecommitdiff
path: root/networking/tftp.c
diff options
context:
space:
mode:
authorDenys Vlasenko2019-06-09 11:32:23 +0200
committerDenys Vlasenko2019-06-09 11:32:23 +0200
commit94ce1c0ebbdb59caaa2a91206ae98edf778ff556 (patch)
tree51a7f29536eef6bfbd5fed76c5c01739ac6e3811 /networking/tftp.c
parent3b8025f1327c86b7252855b60b303e44aca9adbc (diff)
downloadbusybox-94ce1c0ebbdb59caaa2a91206ae98edf778ff556.zip
busybox-94ce1c0ebbdb59caaa2a91206ae98edf778ff556.tar.gz
tftpd: revert erroneous change
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/tftp.c')
-rw-r--r--networking/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c
index 30232ef..8486455 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -888,7 +888,7 @@ int tftpd_main(int argc UNUSED_PARAM, char **argv)
peer_lsa->len = our_lsa->len;
/* Shifting to not collide with TFTP_OPTs */
- opt = option_mask32 = TFTPD_OPT | (getopt32(argv, "rcu:lm:", &user_opt, NULL) << 8);
+ opt = option_mask32 = TFTPD_OPT | (getopt32(argv, "rcu:l", &user_opt) << 8);
argv += optind;
if (opt & TFTPD_OPT_l) {
openlog(applet_name, LOG_PID, LOG_DAEMON);