PPP, don't allocate twice struct eth_hdr per PPPoE pbuf

This commit is contained in:
Sylvain Rochet
2012-08-25 16:21:58 +02:00
parent 4928166593
commit 7920b6e163
2 changed files with 4 additions and 7 deletions

View File

@@ -178,9 +178,6 @@ void pppoe_data_input(struct netif *netif, struct pbuf *p);
err_t pppoe_xmit(struct pppoe_softc *sc, struct pbuf *pb);
/** used in ppp.c */
#define PPPOE_HDRLEN (sizeof(struct eth_hdr) + PPPOE_HEADERLEN)
#endif /* PPP_OE_H */
#endif /* PPP_SUPPORT && PPPOE_SUPPORT */