Fixed bug #29148 (Incorrect PBUF_POOL_BUFSIZE for ports where ETH_PAD_SIZE > 0) by moving definition of ETH_PAD_SIZE to opt.h and basing PBUF_LINK_HLEN on it.

This commit is contained in:
goldsimon
2010-03-14 10:16:43 +00:00
parent 67f5e17588
commit 4e764017c1
3 changed files with 16 additions and 5 deletions

View File

@@ -48,10 +48,6 @@
extern "C" {
#endif
#ifndef ETH_PAD_SIZE
#define ETH_PAD_SIZE 0
#endif
#ifndef ETHARP_HWADDR_LEN
#define ETHARP_HWADDR_LEN 6
#endif