diff --git a/CHANGELOG b/CHANGELOG index 32ca51a5..b2a735ce 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -6,6 +6,10 @@ HISTORY ++ New features: + 2013-08-19: Simon Goldschmidt + * netif.h: bug #42998: made NETIF_MAX_HWADDR_LEN overridable for some special + networks + 2013-03-17: Simon Goldschmidt (patch by Ghobad Emadi) * opt.h, etharp.c: Added LWIP_HOOK_ETHARP_GET_GW to implement IPv4 routing with multiple gateways diff --git a/src/include/lwip/netif.h b/src/include/lwip/netif.h index 8a9a9a3a..5c7bf164 100644 --- a/src/include/lwip/netif.h +++ b/src/include/lwip/netif.h @@ -60,9 +60,12 @@ extern "C" { /* Throughout this file, IP addresses are expected to be in * the same byte order as in IP_PCB. */ -/** must be the maximum of all used hardware address lengths - across all types of interfaces in use */ +/** Must be the maximum of all used hardware address lengths + across all types of interfaces in use. + This does not have to be changed, normally. */ +#ifndef NETIF_MAX_HWADDR_LEN #define NETIF_MAX_HWADDR_LEN 6U +#endif /** Whether the network interface is 'up'. This is * a software flag used to control whether this network