diff --git a/ports/win32/pcapif.c b/ports/win32/pcapif.c index df531b8..c5618d7 100644 --- a/ports/win32/pcapif.c +++ b/ports/win32/pcapif.c @@ -587,7 +587,7 @@ pcapif_low_level_output(struct netif *netif, struct pbuf *p) #endif /* initiate transfer */ - if ((p->len == p->tot_len) && (p->len >= ETH_MIN_FRAME_LEN)) { + if ((p->len == p->tot_len) && (p->len >= ETH_MIN_FRAME_LEN + ETH_PAD_SIZE)) { /* no pbuf chain, don't have to copy -> faster */ buf = &((unsigned char*)p->payload)[ETH_PAD_SIZE]; } else {