aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-06-09 11:32:23 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2019-06-09 11:32:23 +0200
commit94ce1c0ebbdb59caaa2a91206ae98edf778ff556 (patch)
tree51a7f29536eef6bfbd5fed76c5c01739ac6e3811
parent3b8025f1327c86b7252855b60b303e44aca9adbc (diff)
downloadbusybox-94ce1c0ebbdb59caaa2a91206ae98edf778ff556.tar.gz
tftpd: revert erroneous change
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c
index 30232ef8e..848645552 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);