From cd0a9de68b03e5a54fd2a08f44be318e4397be01 Mon Sep 17 00:00:00 2001 From: wdenk Date: Mon, 23 Feb 2004 20:48:38 +0000 Subject: * 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 --- net/tftp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'net/tftp.c') diff --git a/net/tftp.c b/net/tftp.c index 3ba15ab625..fdf1770f01 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++; -- cgit v1.2.1