[git commit] tftpd: revert erroneous change

Denys Vlasenko vda.linux at googlemail.com
Sun Jun 9 09:32:23 UTC 2019


commit: https://git.busybox.net/busybox/commit/?id=94ce1c0ebbdb59caaa2a91206ae98edf778ff556
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/tftp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);


More information about the busybox-cvs mailing list