mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-09-13 12:55:26 +00:00
Fixed packet buffer length to eth header plus payload.
This commit is contained in:
parent
332072de60
commit
e32c8ca65f
@ -147,7 +147,7 @@ low_level_output(struct netif *netif, struct pbuf *p)
|
|||||||
{
|
{
|
||||||
struct mintapif *mintapif;
|
struct mintapif *mintapif;
|
||||||
struct pbuf *q;
|
struct pbuf *q;
|
||||||
char buf[1500];
|
char buf[1514];
|
||||||
char *bufptr;
|
char *bufptr;
|
||||||
|
|
||||||
mintapif = netif->state;
|
mintapif = netif->state;
|
||||||
@ -185,7 +185,7 @@ low_level_input(struct mintapif *mintapif)
|
|||||||
{
|
{
|
||||||
struct pbuf *p, *q;
|
struct pbuf *p, *q;
|
||||||
u16_t len;
|
u16_t len;
|
||||||
char buf[1500];
|
char buf[1514];
|
||||||
char *bufptr;
|
char *bufptr;
|
||||||
|
|
||||||
/* Obtain the size of the packet and put it into the "len"
|
/* Obtain the size of the packet and put it into the "len"
|
||||||
|
Loading…
Reference in New Issue
Block a user