From 0d5eea288c3a7d9df626c67acd87addf279d54d5 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Tue, 23 Aug 2016 12:54:29 +0200 Subject: [PATCH] Clarify LWIP_HOOK_UNKNOWN_ETH_PROTOCOL in opt.h --- src/include/lwip/opt.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index 1abdf294..3c405e75 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -2534,6 +2534,7 @@ * LWIP_HOOK_UNKNOWN_ETH_PROTOCOL(pbuf, netif): * Called from ethernet_input() when an unknown eth type is encountered. * Return ERR_OK if packet is accepted, any error code otherwise. + * Payload points to ethernet header! */ #ifdef __DOXYGEN__ #define LWIP_HOOK_UNKNOWN_ETH_PROTOCOL(pbuf, netif)