]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: fix tftpput command
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 3 Sep 2022 12:21:09 +0000 (12:21 +0000)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 9 Sep 2022 14:07:54 +0000 (16:07 +0200)
commit586bb35a1174bcf87328e513d21679420b681ac3
tree3ef82cb8087bbb4ba133e04d16ac2c1b9064a99c
parent10ace83d28ae90588702c863408063def4e0ab92
cmd: fix tftpput command

Calling tftpput with less than 2 arguments must lead to a failure.

If tftpput is called with two arguments, these are the address and
the size of the file to be transferred.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/net.c