Re: [PATCH] fix up bogus length check in output.c|
Lennert Buytenhek <buytenh,AT,gnu,DOT,org>|
Thu, 1 Nov 2001 22:36:17 +0100|
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