<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: [PATCH] fix up bogus length check in output.c
From: Lennert Buytenhek <buytenh,AT,gnu,DOT,org>
Date: Thu, 1 Nov 2001 22:36:17 +0100
In-reply-to: <20011101154857.A22587@gnu.org>

On Thu, Nov 01, 2001 at 11:10:00PM +0200, Pekka Savola wrote:

> > (come to think of it, the check could be made more precise by writing smth
> > like "if ((length < 60 && ilen > 60) || (length >= 60 && length!=ilen))" )
> 
> The minimum total length of an Ethernet frame is 64 bytes.

Which is 60 bytes plus the hardware-generated 4-byte Frame Check
Sequence, surely?

cheers,
Lennert





<< | Thread Index | >> ]    [ << | Date Index | >> ]