diff options
| author | stefano babic <sbabic@denx.de> | 2007-08-21 15:52:33 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2007-08-29 02:14:34 +0200 | 
| commit | ef8f20752712dc1cdbd86f47e3bd6e35f81c83fd (patch) | |
| tree | 571a54f066e3df97578001dca190075498f2269a /net/tftp.c | |
| parent | 5f470948570526e9186f053a3003da7719604e90 (diff) | |
| download | olio-uboot-2014.01-ef8f20752712dc1cdbd86f47e3bd6e35f81c83fd.tar.xz olio-uboot-2014.01-ef8f20752712dc1cdbd86f47e3bd6e35f81c83fd.zip | |
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>
Diffstat (limited to 'net/tftp.c')
| -rw-r--r-- | net/tftp.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/net/tftp.c b/net/tftp.c index d6db91c05..fb2f50564 100644 --- a/net/tftp.c +++ b/net/tftp.c @@ -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 |