From e26a3e347b5065bf4a8f616b14d4ddcde3be2352 Mon Sep 17 00:00:00 2001 From: jani Date: Tue, 19 Nov 2002 10:20:19 +0000 Subject: [PATCH] change tapif 'MTU' to be 1500 just like the linux tap's MTU --- src/arch/unix/netif/tapif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/unix/netif/tapif.c b/src/arch/unix/netif/tapif.c index 23a15bcf..7850d3f8 100644 --- a/src/arch/unix/netif/tapif.c +++ b/src/arch/unix/netif/tapif.c @@ -144,7 +144,7 @@ static err_t low_level_output(struct netif *netif, struct pbuf *p) { struct pbuf *q; - char buf[1500]; + char buf[1514]; char *bufptr; struct tapif *tapif; @@ -183,7 +183,7 @@ low_level_input(struct tapif *tapif) { 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"