Fix PBUF_LINK_HLEN value in documentation

This commit is contained in:
Dirk Ziegelmeier 2016-08-08 08:20:42 +02:00
parent 953dd5b628
commit fa8797b86d

View File

@ -1359,7 +1359,7 @@
* Ethernet.
*/
#if !defined PBUF_LINK_HLEN || defined __DOXYGEN__
#if defined LWIP_HOOK_VLAN_SET || defined __DOXYGEN__
#if defined LWIP_HOOK_VLAN_SET
#define PBUF_LINK_HLEN (18 + ETH_PAD_SIZE)
#else /* LWIP_HOOK_VLAN_SET */
#define PBUF_LINK_HLEN (14 + ETH_PAD_SIZE)