summaryrefslogtreecommitdiff
path: root/net/tftp.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-02-23 20:48:38 +0000
committerwdenk <wdenk>2004-02-23 20:48:38 +0000
commitcd0a9de68b03e5a54fd2a08f44be318e4397be01 (patch)
tree161762b51f26b604823009e2bcc1c7b3105c6361 /net/tftp.c
parent2d1a537d87727907bf4d888760cba4abc0b52ad3 (diff)
downloadu-boot-imx-cd0a9de68b03e5a54fd2a08f44be318e4397be01.zip
u-boot-imx-cd0a9de68b03e5a54fd2a08f44be318e4397be01.tar.gz
u-boot-imx-cd0a9de68b03e5a54fd2a08f44be318e4397be01.tar.bz2
* Patch by Laurent Mohin, 10 Feb 2004:
Fix buffer overflow in common/usb.c * Patch by Tolunay Orkun, 10 Feb 2004: Add support for Cogent CSB272 board * Code cleanup
Diffstat (limited to 'net/tftp.c')
-rw-r--r--net/tftp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/tftp.c b/net/tftp.c
index 3ba15ab..fdf1770 100644
--- a/net/tftp.c
+++ b/net/tftp.c
@@ -205,10 +205,10 @@ TftpHandler (uchar * pkt, unsigned dest, unsigned src, unsigned len)
TftpBlock = ntohs(*(ushort *)pkt);
/*
- * RFC1350 specifies that the first data packet will
- * have sequence number 1. If we receive a sequence
- * number of 0 this means that there was a wrap
- * around of the (16 bit) counter.
+ * RFC1350 specifies that the first data packet will
+ * have sequence number 1. If we receive a sequence
+ * number of 0 this means that there was a wrap
+ * around of the (16 bit) counter.
*/
if (TftpBlock == 0) {
TftpBlockWrap++;