mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
Fix: TFTP is not working on little endian systems
TFTP does not work anymore after multicast tftp patch was applied on little endian systems. This patch fix it. Signed-off-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
parent
5f47094857
commit
ef8f207527
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ TftpSend (void)
|
|||
pkt += strlen((char *)pkt) + 1;
|
||||
/* try for more effic. blk size */
|
||||
pkt += sprintf((char *)pkt,"blksize%c%d%c",
|
||||
0,htons(TftpBlkSizeOption),0);
|
||||
0,TftpBlkSizeOption,0);
|
||||
#ifdef CONFIG_MCAST_TFTP
|
||||
/* Check all preconditions before even trying the option */
|
||||
if (!ProhibitMcast
|
||||
|
|
Loading…
Add table
Reference in a new issue