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"