From 0e31ca73c07019429c8bc5ec920bb2d640236129 Mon Sep 17 00:00:00 2001 From: likewise Date: Tue, 10 Aug 2004 14:41:12 +0000 Subject: [PATCH] Have PBUF_LINK_HLEN default to 14 bytes (for Ethernet). --- src/include/lwip/opt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index a8942ca8..762da668 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -146,10 +146,10 @@ a lot of data that needs to be copied, this should be set high. */ #endif /* PBUF_LINK_HLEN: the number of bytes that should be allocated for a - link level header. */ + link level header. Defaults to 14 for Ethernet. */ #ifndef PBUF_LINK_HLEN -#define PBUF_LINK_HLEN 0 +#define PBUF_LINK_HLEN 14 #endif