mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 21:14:09 +00:00
etharp: fix using ARP_TABLE_SIZE >= 0x80
This commit is contained in:
parent
2bd1e313b9
commit
596f742066
@ -125,8 +125,8 @@ static netif_addr_idx_t etharp_cached_entry;
|
|||||||
|
|
||||||
|
|
||||||
/* Check for maximum ARP_TABLE_SIZE */
|
/* Check for maximum ARP_TABLE_SIZE */
|
||||||
#if (ARP_TABLE_SIZE > 0x7f)
|
#if (ARP_TABLE_SIZE > NETIF_ADDR_IDX_MAX)
|
||||||
#error "ARP_TABLE_SIZE must fit in an s8_t, you have to reduce it in your lwipopts.h"
|
#error "ARP_TABLE_SIZE must fit in an s16_t, you have to reduce it in your lwipopts.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user