change tapif 'MTU' to be 1500 just like the linux tap's MTU

This commit is contained in:
jani 2002-11-19 10:20:19 +00:00
parent 29f5968c23
commit e26a3e347b

View File

@ -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"