]> git.dujemihanovic.xyz Git - u-boot.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)
commit5f46c6eba59bc3bd29f0641628891c443930e477
tree3ef82cb8087bbb4ba133e04d16ac2c1b9064a99c
parente9de8c8c649044080371399a1ef4923b08632611
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