From e32c8ca65f9685fe6c8753cbee501eebe36c36de Mon Sep 17 00:00:00 2001 From: christiaans Date: Wed, 8 Feb 2006 08:03:42 +0000 Subject: [PATCH] Fixed packet buffer length to eth header plus payload. --- ports/unix/proj/minimal/mintapif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/unix/proj/minimal/mintapif.c b/ports/unix/proj/minimal/mintapif.c index 551be6c..894db5a 100644 --- a/ports/unix/proj/minimal/mintapif.c +++ b/ports/unix/proj/minimal/mintapif.c @@ -147,7 +147,7 @@ low_level_output(struct netif *netif, struct pbuf *p) { struct mintapif *mintapif; struct pbuf *q; - char buf[1500]; + char buf[1514]; char *bufptr; mintapif = netif->state; @@ -185,7 +185,7 @@ low_level_input(struct mintapif *mintapif) { struct pbuf *p, *q; u16_t len; - char buf[1500]; + char buf[1514]; char *bufptr; /* Obtain the size of the packet and put it into the "len"